Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All:
Hopefully an easy Yes or No answer:
Has there ever been a DAX command "CountIF"?
I know how to replicate the functionality in DAX, however someone has said why do that when there is CountIF.
Solved! Go to Solution.
@NickA01 No but there are equivalents COUNTROWS(FILTER)) or COUNTX(FILTER()) for example.
I put together everything I could here: Excel to DAX Translation - Microsoft Power BI Community
@NickA01 No but there are equivalents COUNTROWS(FILTER)) or COUNTX(FILTER()) for example.
I put together everything I could here: Excel to DAX Translation - Microsoft Power BI Community
@Greg_Deckler Thanks for confirming; Glad I'm not missing a load of brain cells that I thought used to hold that bit of info. 👍
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |