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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors