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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors