Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Please help expert!!!! I am trying to write the proper syntax to model this file to produce a dashboard.

keymedtypeTranstypedepensedwasteamt
0123456Zanaxremove1.5-
0123456Zanax
waste
-1.2

this is how the file looks right now.

I am trying to get the file looking like this:

keymedtypedepensedwasteamt
0123456zanax1.51.2

This is the output i want in qlikview.

I have been trying model the the file above, to look like the file below. I have not been successful in doing that. Any help would be gladly welcomed.

Thank you experts.

6 Replies
sunny_talwar

May be this:

LOAD key,

          medtype,

          Sum(depensed) as depensed,

          Sum(wasteamt) as wasteamt

FROM ...

Group By key, medtype;

vishsaggi
Champion III
Champion III

Script level you can use Sunny's script.

Load the script as is and

In the chart you can use straight table and add

Dimensions: key, medtype

Expressions: = Sum(depensed)

                    = Sum(wasteamt)

Like:

Capture.PNG

saimahasan
Partner - Creator III
Partner - Creator III

may be you can use

sum(if(isnull(depensed),0,depensed))

and

sum(if(isnull(wasteamt),0,wasteamt))

in your expression window.

Anonymous
Not applicable
Author

Thank you so much, this really helped me.

Anonymous
Not applicable
Author

Thank you

Anonymous
Not applicable
Author

Thank you