Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi Everyone,
I am trying to calculate how many values are greater than 12 and lessser than 12 and equals to 12 from a single column.
Table is having numbers ranging from 1 to 40 on a single column.
I have seen the dmax formula as creating filters less than and greater than these two works perfectly but when I apply third catagory that is equals to 12. Formula error occurs and says this is reoccurring to previous filters. I am stuch with this.
I can easily archive the above in excel by applying countif, since this is not available in power bi I am struggling how to achieve this.
Could anyone please help me out.
Solved! Go to Solution.
hi @tanveer4m
you would need multiple measures like:
The chart which is prepared by applying the above dmax code, is static and does not interact with other charts present in the dashboard.
hi @tanveer4m
you would need multiple measures like:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |