Forum Discussion
Count Latest Date
- Anonymous5 years ago
Hi,
Please check the measure.
Measure = CALCULATE(COUNT('Table'[ManagerID]),FILTER(ALLEXCEPT('Table','Table'[Status]),'Table'[Date]=MAXX(ALL('Table'),'Table'[Date])))Result would be shown as below.
Best Regards,
Jay
Try this out:
Measure = CALCULATE(COUNT('Manager Ratings'[Status]),FILTER(Table, Table[Date]=MAX('Table'[Date])))
Tahreem24thank you for your reply, this is what i have tried although this seems to just look at the latest date by status. Whereas i would need to look at this per Manager ID? so i could create a bar chart to say satus as the axis and the count to be based on the latest date per manager ID how many fit into each status. Does that make sense?
- VahidDM5 years agoSuper User
Hi,
First, September does not have day 31!
second, your question is not totally clear for me, but please check this measure:
measure = VAR _MaxDate = CALCULATE ( MAX ( 'Table'[Date] ), FILTER ( 'Table', 'Table'[Manager ID] ) ) RETURN CALCULATE ( COUNT ( 'Table'[Date] ), 'Table'[Date] = _MaxDate )Result would be shown as below:
Don't forget to give thumbs up and accept this as a solution if it helped you!!!