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

Repeat values on Straight table

Greetings

Please assist to calculate grp2, grp3 and grp4 columns on Qliview model.

Capture.PNG

Many Thanks.

14 Replies
Not applicable
Author

Hi

PFA.

Regards

rodri_morales
Creator II
Creator II

You could do it in script.

When you load the data you could make a left join and add a calculate column making sum().

But we need you explain a little more about the model. What is the calculation for gpr2, gpr3 and gpr4 for example.

rodri_morales
Creator II
Creator II

sandeepa, could you please explain a little more?

I see the attached file, wich no script code is there. Explain how is the calculation, do you want to do a cumulative sum?

I think is like finance and economics tables, but you never told something.

Not applicable
Author

Thank You all for responding.

Please find attach the QV model and source file.

I could not able to calculate it on Model level so did it on DB level using cursor.

Regards

Anonymous
Not applicable
Author

count(column name{<values>}distinct column name)