Forum Discussion
Anonymous
6 years agoNot applicable
Measure - Count two columns with certain values
Hi there
I have two columns Current Month and 48hrs.
I would like to count the rows where Current Month value = "Yes" and 48hrs value = "<=48hrs"
Example Table
Current Month | 48hrs
Yes <=48hrs
No >48hrs
Yes <=48hrs
This should return a value of 2.
Any help with the dax is much appreicated.
Tim
2 Replies
- amitchandakSuper User
Anonymous , Like
calculated(countrows(Table),filter(Table,Table[Current Month value] = "Yes" && Table[48hrs value] = "<=48hrs"))
- AnonymousNot applicable
Perfect... worked a treat 🙂