The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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:
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
14 | |
12 | |
12 | |
7 |