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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis

Hi All,

I have this set analysis, I want to calculate for same but exactly till YESTERDAY. Below is giving me detail till Now.

count({<Segment={'Retail'},PeriodID={$(=Max(PeriodID)) },Fin_Year,MonthYear=,Day=,Date= >} distinct Trans_Key)

I have Date as my Date fieldname.

Please Help

5 Replies
MA1
Contributor III
Contributor III

hi,

try to use this

PeriodID={"$(=date(max(PeriodID-1)))"}

vinieme12
Champion III
Champion III

what is periodID here? might want to take that out

count({<Segment={'Retail'},Fin_Year,MonthYear=,Day=,Date={"=DATE(Today()-1,'YOURDATEFORMAT')"} >} distinct Trans_Key)

read more here

Dates in Set Analysis

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

Not Working, Showing same value

ahaahaaha
Partner - Master
Partner - Master

May be Today()-2 in expression?

vinieme12
Champion III
Champion III

post the expression you used or a sample app

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.