Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
sudhir0538
Creator
Creator

Including a variable in Set analysis Expression

Hi all

Please help me to correct these two not given any result but error set analysis expression.

1)=Avg({<IMQ.Date={$(=vs_Today)},IMQ.Shift={'A'}>}[IMQ.DOLOMITE_Sieve_  -10mm])

2)=Avg({<IMQ.Date={$(vs_Today)},IMQ.Shift={'A'}>}[IMQ.DOLOMITE_Sieve_  -10mm])

Please help me to resolve this.

Variable vs_Today holds today date.

2 Replies
Gysbert_Wassenaar

Try it like this: Avg({<IMQ.Date={$(vs_Today)},IMQ.Shift={'A'}>}[IMQ.DOLOMITE_Sieve_  -10mm])


talk is cheap, supply exceeds demand
sudhir0538
Creator
Creator
Author

Hai Gysbert!

Thanks for your helpful answer. Both the expressions which I have mentioned are working fine,At the time of posting I didn't have the date data in my source, so it's gave nothing.

Thanks again Gysbert.