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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors