cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sirros_iot Member
Member

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

Accepted Solutions
Phil_Seamark Super Contributor
Super Contributor

Re: Sum function error

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 Super Contributor
Super Contributor

Re: Sum function error

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

Highlighted
sirros_iot Member
Member

Re: Sum function error

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
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 293 members 2,857 guests
Please welcome our newest community members: