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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
RutiTaumanRubin
Creator
Creator

Filter in table - Qlik Sense

Hi,

I create table with dim field named "Snapshot Date" -

I also have filter pane named  "Snapshot Date"  that connected to the field in the table.


I want that In case the user will select a value in filter "Snapshot Date" the table will display only the selection date else will display the max value date in field "Snapshot Date".


I try the following expression - but it doesn't work:


if(GetFieldSelections([Snapshot Date])=0,MaxString(Text([Snapshot Date])),'')


Any Idea?

Thank's!!

1 Reply
OmarBenSalem
Partner - Champion II
Partner - Champion II

u'll have to change the measure of ur table;

if(getselectedcount([Snapshot Date])=0,

sum({<[Snapshot Date]={"$(=max([Snapshot Date]))"}>}YourMeasure),

sum(YourMeasure)

)