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,
I am having an issue when I try to create a measure to divide 2 distinct count values. The measure appears to be working in the totals, but when trying to break it down into further categories, the only value I get is 1.
The measure I am using is:
How do I make the values display the correct decimals?
Is there an issue with my DAX?
Thanks
What is the data type of the measure? If it's set to "Whole Number", that could be your problem.
Make sure it's set to "Decimal Number".
Thank you, but the data type of the measure is already set to decimal number.
Try this measure
Measure =
DIVIDE(
CALCULATE(DISTINCTCOUNT('All data_IT'[Data 1.Clnt_Id]), 'All data_IT'[Data 1.Group_tax_outcome] <> "incurred accounting loss")
, DISTINCTCOUNT('All data_IT'[Data 1.Clnt_Id]
)
Whilst I am not getting 1 values when I use that measure, the filter doesn't appear to be working, as there are values in the category I attempted to filter out.
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 |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |