Forum Discussion
Anonymous
4 years agoNot applicable
Count the Machines with Single Status
Hi Friends, I am trying to do a calculation and stuck since I am new. Below is the list of machines. If you can see Machine 1 is having Fixed as well as Open status entries. I want to calculate o...
- 4 years ago
Hi Anonymous ,
Create a measure as below:
Measure = var _tab=CALCULATETABLE(VALUES('Table'[Status]),FILTER(ALL('Table'),'Table'[Machine Name]=MAX('Table'[Machine Name]))) Return IF("Open" in _tab,BLANK(),1)Add the measure to the filter pane and select measure is 1,and you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my reply as a solution!
v-kelly-msft
Community Support
4 years agoHi Anonymous ,
Create a measure as below:
Measure =
var _tab=CALCULATETABLE(VALUES('Table'[Status]),FILTER(ALL('Table'),'Table'[Machine Name]=MAX('Table'[Machine Name])))
Return
IF("Open" in _tab,BLANK(),1)
Add the measure to the filter pane and select measure is 1,and you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!