×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Reading from Excel files

Reading from Excel files

Reading from Excel files

(OP)
Hey, I'm fairly new to WebFOCUS, and working on one of my first tasks.
At the moment, I'm trying to create a graph through WebFOCUS from an Excel spreadsheet.
Now, I've had a look at previous pieces of work, and all their excel data is listed in columns, whereas this one is sorted in rows. For example, the previous ones have X and Y as the categories next to each other at the top, and they are listed vertically by month.
This new one has X and Y, one beneath the other, and the values are listed across the row, each column representing a new month.
If I try to read this into WebFOCUS as a master file, it will record each column (month) as a new category. Is there anyway I can get around this (aside from restructuring the excel spreadsheet)?
And if not, is there anyway that I 'rotate' the data, so to speak, using WebFOCUS?

RE: Reading from Excel files

(OP)
Well, I've *sort of* got around the issue by rearranging the data on the Excel sheet, but it's kinda bothersome...

Another question has popped up though - how do I preserve the order of the categories when I'm making a table or graph? For example, I want the order to go from January down to December, but WebFOCUS is being too helpful and sorting them alphabetically - how would I get it to not do that?

If anyone could help me out please, I'd be very grateful.
Thanks in advance. ^_^

RE: Reading from Excel files

One of the things you could try is a defined field. e.g. seq/i1 with month =seq+1; and then go across the seq field. Hope this helps

RE: Reading from Excel files

(OP)
Yeah, I've tried playing around with the Define fields, but to no avail. =Þ

Anyway, I've just created a Macro that copies all the necessary data and rearranges them and told the users that they have to click that Macro at the start of each month to udpate the information. ^_^

Hehe, still works, all good. ^_^

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close