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

View all the Fabric Data Days sessions on demand. View schedule

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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