Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
roisolberg
Creator
Creator

straight table - multiple expressions - Feasibility check

Hi all,

ill try to simple it as much as i can
Background:
there are 4 objects
Master program --> Opportunity -> Potentials / Orders

1 Program can have many opportunities
1 opportunity can have many potentials/orders

Order is an actual order
potential is a feature order

I want to create the following table
so basically, 1 expression should contain 3 scenarios:

Capture.JPG

 

 

only for the orders i created 8 simple flags [2016-2023] (if the opportunity close year = Program won Year,1,0) and incremented Program won Year+1/+2....

than i used in the script and used the following expression

Sum({<OpportunityYear_Equals_ProgramFirstWonYear ={1}>}[Order.TotalAmount])
Sum({<OpportunityYear_Equals_ProgramFirstWonYear_Plus1 ={1}>}[Order.TotalAmount])
.
.
.

im pretty sure this is possible but im not sure what is the best way to approach this that will give me the desired ouput but also maintain preformance


assume all of the needed data is there (Dates or other fields to condition by)


Many thanks,
Roi

Labels (6)
2 Replies
roisolberg
Creator
Creator
Author

anyone?

vinieme12
Champion III
Champion III

Please post some sample data

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.