Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner
Partner

Help in set analysis

Hello check the sample data (attached with this post)
I have a project, and billable days with revision number
I want to calculate the total billable days where Revision Type = 0 - Reference Budget or Revision Name = Reference Budget and Revision number is the last one

so in this case the revision number is 4 and the total should be 745
I wrote the following expression:

sum(aggr(
sum(
{
<
[Revision Number]={"=[Revision Number] = max({<[Budget Revision Type]={[0 - Reference Budget]}>+<[Budget Revision Name]={[Reference Budget]}>}[Revision Number])"}
,Frozen={1}

>


}
[Billbale Days]
)
,ProjectId))

but the number is completely wrong

 

I can walk on water when it freezes
0 Replies