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
sirros_iot
Helper IV
Helper IV

Sum function error

Hello All!
Well, I have this table..
Modo 1.PNG
Until here everything was Ok, but when I change the column [intervalo] to return me a Sum...
Modo 2.PNG
It returns me a value 5 or 4 times higher.... What can do it? And there's is only a day difference!
Any idea...

Thanks,
Diego

1 ACCEPTED SOLUTION
Phil_Seamark
Employee
Employee

Hi @sirros_iot

 

it means you have more data in your data-table that you think.  I suspect you have multiple rows that have a contagem = 93

 

Add the following measure to your table visual to check

 

debug measure = COUNTROWS(<yourtablenamehere>)

and drag that to your visual.  I bet it returns a number higher than 1


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Employee
Employee

Hi @sirros_iot

 

it means you have more data in your data-table that you think.  I suspect you have multiple rows that have a contagem = 93

 

Add the following measure to your table visual to check

 

debug measure = COUNTROWS(<yourtablenamehere>)

and drag that to your visual.  I bet it returns a number higher than 1


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Hi @Phil_Seamark, you were right!
Brow.PNG
Do you know a way of calculating it just with one value?
Obs: I'm connected by direct query.

Thanks, 
Diego

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.

Top Solution Authors