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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.