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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Vladracs
Helper I
Helper I

Help troubleshoot DAX measure

Hello Experts,

 

Trying to understand how is it possible to get a wrong value (2x the actual value) just for 1 month (dezember) and 1 year (2018) in the example below:

Where the formula for Ultimo is:
Ultimo Valor*100 =
CALCULATE (
SUM ( 'FACT-TABLE'[Valor*100] ),
LASTDATE ( 'FACT-TABLE'[DATA] )
)

Screenshot 2023-04-17 at 11.35.31.png

I would expect that all values are matching in the table above... no idea why or how to find out why this is happening 😕

any help would be greatly appreciated.

regards,
Vladimir

1 ACCEPTED SOLUTION
Vladracs
Helper I
Helper I

sorry to bother you guys! there was a duplicate file in the folder I havent noticed . ignore this one

View solution in original post

3 REPLIES 3
Vladracs
Helper I
Helper I

sorry to bother you guys! there was a duplicate file in the folder I havent noticed . ignore this one

Anonymous
Not applicable

Hi @Vladracs ,

I'm a little confused about your needs, Could you please explain them further? It would be good to provide a screenshot of the results you are expecting and desensitized example data.

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

Hello,

As you can see I am trying to display the last available data within a time frame. using 
CALCULATE (
SUM ( 'FACT-TABLE'[VALUE] ),
LASTDATE ( 'FACT-TABLE'[DATE] )
)
It works for pretty much all data set, but for the month of Dec 2018.

If you look at the screenshot, you see that I just put a table with both value at the month and the calculated value showing the last value (which in this case would be the same month) - note that I will apply this to a quarter or year later.

anyway, the point is the month value and the last data in the month value are the same! so there's no explanation of why 2018 is showing the value x2.



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors