Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using Max and Min functions in set analysis

Hi i need to pick max of Date_Actuals from Fact in order to calculate the total Amount  from "Amount".

This below expression is not giving any results :

=Sum({<Date_Actuals ={">=$(=min(Date_Actuals))<= $(=max(Date_Actuals))">}Amount)

Please let me know the correct syntax

Thanks in adavance

2 Replies
sunny_talwar

You are missing a closing }... try this:

=Sum({<Date_Actuals ={">=$(=min(Date_Actuals))<=$(=max(Date_Actuals))"}>}Amount)

dunnalahk123
Creator III
Creator III

Hi Sunny,

 

Same expression i am trying to use  as below

 

My point is Q118 should not come as i am taking month greater than 201802 which Q2FY18 , but for me Q118 is coming and data is coming as 0.

 

Any idea or suggestion please.

 

Sum({<Month ={">=201802 <=201904"}>}NumValue)

Q.PNG

 

Best Regards,

HK