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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

firstsortvalue not allowing static chart

Hi, I have this expression in a chart:

sum( {<MONTH=,MonthNew=,WEEK=,WeekNew=} Aggr(FirstSortedValue (COMPLETED_AMOUNT,-Id),uniquetradeid,ORDER_ID))

I've tried to put in all the date fields as above to prevent date selections from changing the chart, but it's not working. This is only occurring with firstsortvalue. Thanks.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add them in a set modifier for the firstsortedvalue function too.

sum( {<MONTH=,MonthNew=,WEEK=,WeekNew=>} Aggr(FirstSortedValue ({<MONTH=,MonthNew=,WEEK=,WeekNew=>}COMPLETED_AMOUNT,-Id),uniquetradeid,ORDER_ID))


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add them in a set modifier for the firstsortedvalue function too.

sum( {<MONTH=,MonthNew=,WEEK=,WeekNew=>} Aggr(FirstSortedValue ({<MONTH=,MonthNew=,WEEK=,WeekNew=>}COMPLETED_AMOUNT,-Id),uniquetradeid,ORDER_ID))


talk is cheap, supply exceeds demand