Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
mohitd910
Creator II
Creator II

Restricting Filters on a exp.

Dear all,

This is  my Exp. I want to restrict it for all filters which is present in the current sheet.

Count(Distinct {1<Date_Date={"$(=vToday)"}, Flag={'visits day & Type'}>} IH_EMR_PAT_ID )


stalwar1

mrkachhiaimp

mayilvahanan

mto



Regards,

Mohit Dahiya

16 Replies
MK_QSL
MVP
MVP

vToday=Date(Max({1}Date_Date),'DD/MM/YYYY')


Your variable name is misleading ...


It should be vMaxDate.. !!!

jagan
Partner - Champion III
Partner - Champion III

Hi Mohit,

If your variable value changes then your expression value also changes.  This is why you are getting different values when you are selecting even you give 1 in the expression.

Regards,

Jagan.

mohitd910
Creator II
Creator II
Author

No issue that can be any thing i have also vMaxDate it should work.

MK_QSL
MVP
MVP

vToday=Date(Max({1}Date_Date),'DD/MM/YYYY')


This variable is having {1} which is missing in your expression..

MK_QSL
MVP
MVP

I think jagan has given answer before me.. so you should have marked his answer correct (and my one helpful if you need to mark more than one answers)

Please make sure to mark correct/helpful answer wisely which will encourage other members to reply your questions.

Thanks

MK

mohitd910
Creator II
Creator II
Author

Sry Jagan Bhai i didn't see

mohitd910
Creator II
Creator II
Author

Yes thanks sir Sry @jagan bhai. actually there were 3-4 replies courser directly go to  last answer