Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniel99
Contributor II
Contributor II

How to get a value with max and if criteria in Qlik Sense?

Hi all,

How to get a value with max month and another criteria as below?

=sum(if([CPR_TM1_202202.MONTH]= '2/1/2022' and [CPR_TM1_202202.Business]='CMB', [CPR_TM1_202202.amount]/1000000000))

2/1/2022 is max date in my data set. I want to change '2/1/2022' using the MAX function

any idea?

Labels (5)
11 Replies
Daniel99
Contributor II
Contributor II
Author

ahhh i seee.

really appreciate all solutions from you!

thank you Vitalli!

 

Regards,

Daniel

 

vchuprina
Specialist
Specialist

Welcome! If it's possible please mark correct answers as "solutions".

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").