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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
mauvasco62
Contributor III
Contributor III

Master item without filter impact

Hi all,

i need your support.

I would like to create a master item but if i select in my dashboard a period filter (for example a month) but don't want the report apply it . (my english is bad).

This is my master item:

SUM({$<[Fact type] = {'Fatturato'}, [CALENDARIO.Anno] = {'$(vCY)'}, [CALENDARIO.ReferenceDate_Julian] = {"<= $(vToday)"}>} Valore)

where vCY is a variable (current year

So if i filter month = march i would like to see (for a specific report) all year (including march).

 

Thank you in advance for your help

Mauro

1 Reply
Fernando_Fabregas
Creator II
Creator II

Ciao Mauro. Try this: 

SUM({$<[Fact type] = {'Fatturato'}, [CALENDARIO.Anno] = {'$(vCY)'}, [CALENDARIO.ReferenceDate_Julian] =

{"<=$(=Date( RangeMin( Max(YourMonth), vToday ) ) )"}>} Valore)

to get the minimum value between your selected value and today.

Depending on your data model, probably you must to convert YourMonth to the last day of month using MonthEnd().

Regards! Fernando