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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.