Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Question About Generic Loads from a SQL Datasource

Hello,

I'm very confused about how to use generica loads.  Here's my situation:

I have a dataset coming from a SQL stored procedure containing 13 fields.  I would like to pivot the date field from row to columns.  The only way i'm finding to do this in Qlikview is to use a GENERIC load.  The problem I am having is that every example I see is oversimplified and not showing how to do this from a SQL datasource. 

Can someone show me how?

Thanks!!

Labels (1)
2 Replies
Not applicable
Author

Hi There,

Maybe this example could be helpful:

"Generic Table":

Generic Load *  //A generic load, loading all of the fields from your SQL statement.

;

SQL Select          //Standard SQL statement extracting all of your fields

  Object as GObject,

  Atribute as GAtribute,

  Value as GValue

from datasource //your data source

;


Hope this helps,

Regards GJ.

Not applicable
Author

Thank you.  I've determined that what I actually need is to use the CROSSTAB functionality in Qlikview.  I'm aware that I can also do a GENERIC load, but I think crosstab might be easier for now.  I'm struggling a bit with this, so there may be additional questions.