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
Anonymous
Not applicable

DAX: Why is LastDate not working?

BananaBanana_0-1634591157353.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

 

Thanks so much for your reply! I just figured it out

 

That wasn't the reason. The column was formatted as datetime so I needed to specify .date and it works perfectly. The "Distinct" filter would have fixed the dupilicate columns if that was the issue I think.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

HI @Anonymous 

  THis is because your column has duplicate dates. To avoid this, if you have Date table you can use the date from that date table, which wil be unique and solve the issue.

 

Thanks
Raj

Anonymous
Not applicable

 

Thanks so much for your reply! I just figured it out

 

That wasn't the reason. The column was formatted as datetime so I needed to specify .date and it works perfectly. The "Distinct" filter would have fixed the dupilicate columns if that was the issue I think.

 

Anonymous
Not applicable

Thats correct. Glad that you fixed it!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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