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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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