Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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/
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 11 | |
| 8 | |
| 8 | |
| 8 |