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

Announcements
Data Works for AI is here - Join the discussion and enter to win a pair of Qlik kicks: Join the Conversation!
cancel
Showing results for 
Search instead for 
Did you mean: 
vengadeshpalani
Creator
Creator

set maximum date of each month in set analysis

Hi

i want to show a count of DJobID in MonthYear wise in straight table

but it won't consider all date it shout be maximum Date

so i use

count({<Date = {'=Aggr(Max(Date),MonthYear)'}>}DISTINCT  DJobID)

for Jan 2013 it will be 6 but it shows only 5 What did i wrong?

Screenshot_3.png

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be try this

FirstSortedValue(Aggr(Count(DISTINCT DJobID), Date, MonthYear), -Aggr(Date, Date, MonthYear))

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

May be try this

FirstSortedValue(Aggr(Count(DISTINCT DJobID), Date, MonthYear), -Aggr(Date, Date, MonthYear))