Forum Discussion
Count by Catagory
- 6 years ago
ravitejaballa , You can try measures like
m1 =lastnonblankvalue(Table[timestamp],max(Table[binLegendColumn]))
m2 = lastnonblankvalue(Table[timestamp],max(Table[lastValueHours]))
- ravitejaballa6 years ago
Helper III
Thanks for reply,
I already have these measure in my report.
Using this measure, i want to get count of number of deviceID for each legend.
Like below.
- Anonymous6 years agoNot applicable
Hi ravitejaballa ,
Based on your Data No of Distinct Device Id are as below.
In such case you can just use.
(DISTINCTCOUNT(deviceHours[DeviceID])How did you get 1 , 2, 1, 1 .
Let me know if I am missing something.
Regards
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
- ravitejaballa6 years ago
Helper III
Anonymous
Yes, you are missing one thing.
It has to be latest value for a given timestamp.
you can refer my sample file.
https://1drv.ms/u/s!AhI1WOiXwAe-qNl6FDPyeZvIv-Xzew?e=98X6Fa