Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Help in set analysis (max date for each project)

Hello I got a table with one dimension (Project) each project has several dates and in each date it has a number
what i want to display is by Project the number which is for the max date for each project
so for the below:
I want to display 
LLOYDS-FTP-IMPL      1077.43
SBSA-JHB-MM-EXT     162.2095

I want to use set analysis and not if statement

community.PNG

I can walk on water when it freezes
1 Solution

Accepted Solutions
mdmukramali
Specialist III
Specialist III

Dear,

 

Can you try to use FirstSortedValue.

Expression:

=FirstSortedValue(aggr(Sum(RBL),[Fiscal Period End Date],ProjectName),-[Fiscal Period End Date])

View solution in original post

3 Replies
mdmukramali
Specialist III
Specialist III

Dear,

 

Can you try to use FirstSortedValue.

Expression:

=FirstSortedValue(aggr(Sum(RBL),[Fiscal Period End Date],ProjectName),-[Fiscal Period End Date])

ali_hijazi
Partner - Master II
Partner - Master II
Author

ok this works
but now they ask me to get the sum by Month Year also
i.e. the 1077 above is the sum of RBL on several months so I want to group by month too

so each [FISCAL PERIOD END DATE] has several months
so I want to sum the RBL for each month for the last [FISCAL PERIOD END DATE] of each project
kindly advise

I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II
Author

may you please help me with the following issue:
https://community.qlik.com/t5/App-Development/get-the-sum-by-project-and-month-for-the-last-period-o...

 

I can walk on water when it freezes