Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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!

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

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


talk is cheap, supply exceeds demand