Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm writing set analysis for total charges where charge id is not null.
Sum({<[Charge ID]-={"' '"}, REVENUE_DATE={"<= $([REPORT DATE]) "}>} TOTAL_CHARGE_AMT)
but it doesn't seems to work . it gives me same result as sum(TOTAL_CHARGE_AMT). which is not right .
Any help is highly appreciated.
How about this
Sum({<[Patient Charge ID] ={"*"}, TOTAL_CHARGE_AMT = {">0"}>} TOTAL_CHARGE_AMT)
How about this
Sum({<[Charge ID] ={"*"}, REVENUE_DATE={"<=$(=[REPORT DATE])"}>} TOTAL_CHARGE_AMT)
this doesn't seems to work either
Hi,
Null values are kinda tricky but you can read this article:
https://community.qlik.com/docs/DOC-3155
I'll also recommend you add value to null maybe a '-' This way you can do the set analysis like this
Sum({<[Charge ID]-={"-"}, REVENUE_DATE={"<= $([REPORT DATE]) "}>} TOTAL_CHARGE_AMT)
Hope this helps
Jose
What is the output that you are expecting to see?
How about this
Sum({<[Patient Charge ID] ={"*"}, TOTAL_CHARGE_AMT = {">0"}>} TOTAL_CHARGE_AMT)
As always you are my life savor !!! thank you so much
Not always, but I try
Thank you jose ,even this with additional condition works now .