Join 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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi!
Im trying to make different distinctcounts with measures based on the same column and its 3 values, im trying to count the rows by an ID column, and made a count for each one of the values and also one for blank rows. The thing is, when adding up all these counts it doesnt coincide with the total count, here i give you de different measures:
when adding upp the four measures, the total is +10 than the total count, anybody has a clue of why this is happening?
Thanks in advance
hi @ZakariAK ,
Region | Product |
East | A |
East | B |
West | A |
What would be a correct way of counting the values without counting ID duplicates then?
This is a sample of the data:
hi @ZakariAK ,
first of all, that is not advisible. if you insist, with data table in my previous post, try like:
measure =
SUMX(
VALUES(data[region]),
CALCULATE(DISTINCTCOUNT(data[product]))
)
it worked like:
Hi FreemanZ,
Could you please extrapolate it to the sample I gave you? Thanks in advance
try like: