cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft
Microsoft

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
Microsoft

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors