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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Creating measure/visual table based on Slicer

Hi Everyone,

I'm hoping folks would be able to assist.  I've a table and I want to create a new dynamic table that updates based on my slicer.   The slicer is full of dates (1/1/2022,  2/1/2022, 3/1/2022).   I want the measure(s) to pull the record with latest date closest to my date slicer.  

 

Thanks so much everyone!

eg.

 

Table

IDDatePhaseCosts
11/1/2022

A

 

100
12/1/2022B200
13/1/2022C300
21/1/2022A100
22/1/2022F200
31/1/2022A100

 

If Slicer => Reporting Date = 1/1/2022

IDDatePhaseCosts
11/1/2022A100
21/1/2022A100
31/1/2022A100

 

If Slicer => Reporting Date = 2/1/2022

IDDatePhaseCosts
12/1/2022B200
22/1/2022F200
31/1/2022 (pulls from date closest to slicer)A

100

 

If Slicer => Reporting Date = 3/1/2022

IDDatePhaseCosts
13/1/2022C300
22/1/2022 (pulls from date closest to slicer)F200
31/1/2022 (pulls from date closest to slicer)A100
2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , A calculated table can not use a slicer value. Only measure and visual table can use slicer values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks Amit!  Do you know how I can create a measure for the visual table I want to generate?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors