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 calculated rows in straight table

Hi, i have the following problem.

In my model I have a table with the following data:

DimensionValue
A1
B2
C3
D4
E5

Now i want a straigth table in QlikView, which should look like this

DimensionValue
A1
B2
C3
D4
E5
A/D1/4
A/E1/5

The formular for value is sum(Value). I can't do the calculation in the Datamodel because sum(value1)/sum(value2) != sum(value1/value2)

Thank you for your help!

Labels (1)
2 Replies
sinanozdemir
Specialist III
Specialist III

Hi,

This is probably not the way that you want to solve this issue, but I wanted to give a try anyway. I handled everything in the load script:

Capture.PNG

After that the data model looked like the below:

Capture.PNG

And finally the straight table or table box:

Capture.PNG

Hope this helps.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps this blog post helps: How IntervalMatch Solved My Profit and Loss Dilemma


talk is cheap, supply exceeds demand