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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sirros_iot
Helper III
Helper III

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.