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,
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.
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 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 11 | |
| 9 | |
| 8 |