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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
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

1 Solution

Accepted Solutions
sunny_talwar

May be try this

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

View solution in original post

1 Reply
sunny_talwar

May be try this

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