Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have a straight table like below . There is also a filter in the page for F-Date.
The expression I am using is below. Just a dummy one to show all the fields as dimensions only.
But for Status=OSC,I don't want to apply the date filter (the two last rows) as some of the values of F_Date will be null for OSC however for the other two status(TRC & ACT) I still need to apply the date filter.
Is it possible to achieve such a condition? Can you please help?
Expression:
=Sum({<[Category]-={'Labour'}
[F_DATE] = {"<=$(=max(FISCAL_DATE))"}
>}1)
Project_id Status Amount Category F_Date
1 TRC 100 Labour 02-Mar-20
1 TRC 300 Labour 02-Mar-20
2 ACT 200 Non Labour 01-Apr-20
3 OSC 300 Labour 23-Feb-19
3 OSC 300 Non Labour
Many Thanks in advance
Regards
Ankhi
Best I have is the following:
https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344
https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822
That should allow you to check things to be sure you have the correct syntax on things etc. The first design blog post has some other related posts linked at the bottom just FYI.
Regards,
Brett