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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
I see that there is no countif in PowerBI.
Is there an alternative?
In excel I have applied the formula '=COUNTIF(B6:CN6,">0")'
In PowerBI I am not sure on how to do it.
Can I know how to implement that?
Any help is appreciated!
Thank you!
Megha
Solved! Go to Solution.
Hi @Anonymous ,
Create a measure like this
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Connect with me on LinkedIn: https://www.linkedin.com/in/jaideepnema/
Hello:
The COUNTIF in DAX can be done several ways. It depends on how you set up your model and what tables relate to eachother.
If you only have a single table it can also be handled with this:
Hi @Anonymous ,
Create a measure like this
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Connect with me on LinkedIn: https://www.linkedin.com/in/jaideepnema/
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
30 | |
18 | |
11 | |
7 | |
5 |