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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Shamali
Frequent Visitor

Dynamically pick reference date from a slicer and use it in a calculated column

I have created a date slicer - 

Shamali_0-1692267885880.png


I want to use the date picked by this slicer as a reference date. I have created a meaure and used it in a card. Which works perfectly fine.

Reference Date = MIN('Date'[Date])

I want to use this reference date in a calculated column. But the row context is affecting the Reference date.

 

Shamali_2-1692268106098.png

 

Is there a work around for this?

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Shamali 
Calculated columns do not interact with the filter context. This has to be a measure only.

Hey,

 

Thanks for responding.

 

I want to create something like this.

Shamali_0-1692270296999.png

 

To get these columns I need reference date. Is there a way to do this?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.