Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Iam Doing a set analysis i have a isssue
when iam using this it is working
Max({<ServiceDayNum={">=$(=Max(ServiceDayNum)-6) <=$(=Max(ServiceDayNum))"}>}OTPDenominator)
When i put in If condition like this it is not working
=If(GetSelectedCount(PeakType)=0
, Max({<PeakType={'Peak'},ServiceDayNum={">=$(=Max(ServiceDayNum)-6) <=$(=Max(ServiceDayNum))"}>}OTPDenominator)
, Max(OTPDenominator)
)
Can you Suggest me Answer
Thanks
First thing, you have tested this expression
Max({<ServiceDayNum={">=$(=Max(ServiceDayNum)-6) <=$(=Max(ServiceDayNum))"}>}OTPDenominator)
but you are using this in your if statement (with additional set analysis on PeakType)
Max({<PeakType={'Peak'},ServiceDayNum={">=$(=Max(ServiceDayNum)-6) <=$(=Max(ServiceDayNum))"}>}OTPDenominator)
Secondly, it might help to know what you are getting and what you are expecting to see?
@anirudhrao92 Are you using Qlik Sense or View? I would like to move this into the correct product forum.