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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lcasey
Post Prodigy
Post Prodigy

Column that is the same value of max selected

Hello,

 

Is there any way to have a column be the same exact data as the max in a calendar filter?

 

2017-08-28_13-53-12.jpg

1 ACCEPTED SOLUTION

Thanks a bunch,

 

I was able to resolve it with two measures:

 

maxDate = LASTDATE(ALLSELECTED('Calendar'[Date])) 

 

AGE = DateDiff(Max('00-Bad Debt - Invoices'[DOCDATE]),[maxDate],MONTH)

 

01.jpg

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Create a Max Date Measure ... Try this...Capture.PNG

Thanks a bunch,

 

I was able to resolve it with two measures:

 

maxDate = LASTDATE(ALLSELECTED('Calendar'[Date])) 

 

AGE = DateDiff(Max('00-Bad Debt - Invoices'[DOCDATE]),[maxDate],MONTH)

 

01.jpg

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 Kudoed Authors