Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sandrasanchez
Helper I
Helper I

sum measure doesn't works

Hi everybody,

I have a report with a measure:

Número de Usuarios = DISTINCTCOUNT(mks_customerproductuserSet[Usuario])

If I put a table with this measure, the total row doesnt make sense, why??

 

mks_ProductURLNúmero de Usuarios
https://emprion.2
https://gfp4
https://saznn219
https://sddff23
https://formaci11

https://hospitalesbio

Total

2

246

 

Total should be : 2 + 4 + 219 + 23+11+2 = 261

Thanks so much!!!

 

1 ACCEPTED SOLUTION

Hi,

 

Your measure will return the distinctcount of your field at the total level as well.

 

So if the [Ususraio] field contains the same name in diffent URL then it will count as 1 at the total level and not 2

 

You have to modify your measure to act differently at total level if you want another result.

 

br

Erik

View solution in original post

2 REPLIES 2

Hi,

 

Your measure will return the distinctcount of your field at the total level as well.

 

So if the [Ususraio] field contains the same name in diffent URL then it will count as 1 at the total level and not 2

 

You have to modify your measure to act differently at total level if you want another result.

 

br

Erik

thanks so much!!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.