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
Niels_T
Post Patron
Post Patron

Last Month DAX not working in Appended table

Hello,

 

I have a Last Month DAX that goes as followed:

 

Last Month Local Currency Amount = CALCULATE(SUM('xxxxNV$Sales Invoice + Cr_Memo Line'[Local Currency Amount]),PREVIOUSMONTH('Calendar'[Date]))
 
This DAX loads but it doesn't give me any results in my appended table.
 
In the non-appended tables it does work and it does give me results. The DAX is similar:
 
Last Month Local Currency Amount = CALCULATE(SUM('xxxxNV$Sales Invoice Line'[Local Currency Amount]),PREVIOUSMONTH('Calendar'[Date]))
 
I first thought that the problem is caused by Local Currency Amount (which is also a DAX column), but I also tested it with a non-DAX measure field and it still doesn't work in my appended table.
 
Could it be that it is because of the fact that it is an appended table?
 
My 2 appended tables contains:
Table 1: Invoice Lines and Credit Memo Lines
Table 2: Invoice Header and Credit Memo Header
 
image.png
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Niels_T , there can few reasons. First, make sure it is a measure. Calendar table is marked as Date table.

Also, make some date is selected on-page OR calendar ends on the current month

 

refer why TI fails https://www.youtube.com/watch?v=OBf0rjpp5Hw

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Niels_T , there can few reasons. First, make sure it is a measure. Calendar table is marked as Date table.

Also, make some date is selected on-page OR calendar ends on the current month

 

refer why TI fails https://www.youtube.com/watch?v=OBf0rjpp5Hw

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Switching from column to measure fixed the problem. Thanks!

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