Forum Discussion
EmilyM2019
6 years agoHelper II
DAX function to count values in column
Hi all, I have a column that contains various rows of different text, some of the rows say "Overdue" some say "Not due" some are blank. How do I create a DAX formula to count all the Overdue...
- 6 years ago
Count = CALCULATE(Countrows(Table),Table[Column]="Overdue")
Hi EmilyM2019 ,
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Nathaniel_C
6 years agoCommunity Champion
Count = CALCULATE(Countrows(Table),Table[Column]="Overdue")
Hi EmilyM2019 ,
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
- EmilyM20196 years agoHelper II
Awesome, thanks so much.
- Anonymous4 years agoNot applicable
What about to count "overdue" and "not due" both?
- Nathaniel_C4 years agoCommunity Champion
Hi Anonymous ,
Please try this:
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
NathanielCount = CALCULATE(Countrows(overdue),overdue[Column1]="Overdue" || overdue[Column1]= "Not overdue")
- walsamoht4 years agoRegular Visitor
I am a new user of Power Bi and you are a star to solve my issue of not having countif in Power BI.