Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
We want to create measure by comparing decimal numbers . I have created below measure but numbers are not matching with Source
EX:
[Usage] = Sum(Usage) ( note: here Usage is stored as decimal)
Product Count (Usage = 0):= CALCULATE(DISTINCTCOUNT('Table'[Product]),FILTER(VALUES('Table'[Product]),[Usage]=0))
Product Count (Usage < 100):= CALCULATE(DISTINCTCOUNT('Table'[Product]),FILTER(VALUES('Table'[Product]),[Usage]<100))
Thanks,
Abhiram
@abhiram342 , Try like
Product Count (Usage = 0):= CALCULATE(countx(FILTER(VALUES('Table'[Product]),[Usage]=0),[Product]))
Product Count (Usage < 100):= CALCULATE(countx(FILTER(VALUES('Table'[Product]),[Usage]<100),[Product]))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |