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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Relevant values for Disconnected tables

Hi All,

 

We have created disconnected tables for start and end dates. we are using them to display data between the start and end date ranges when they are selected in slicer.

 

This works fine using below formula

 

Filter Dates =
VAR StartDate = SELECTEDVALUE('Disc Start Date'[Start Date])
VAR EndDate = SELECTEDVALUE('Disc End Date'[End Date])
VAR SummaryDate = MAX('Table1'[Calendar Date])

 

RETURN
IF ( SummaryDate >= StartDate && SummaryDate <= EndDate, 1, BLANK())

 

I want to make the start and end dates show relavent value in slicer based on any other slicer selection

Is there a way to do that please suggest.

 

Thanks in advance

 

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , do you need something like

 

Date Range Using 2 slicer =
var _max = minx(allselected(Date1), Date1[Date])
var _min = maxx(allselected(Date2), Date2[Date])
return
calculate(countrows(Table), Filter(Table,Table[Date] <=_max && Table[Date] >=_min) )

 

 

if needed refer similar example

Select data between months - https://youtu.be/nEt7dT3Tfv4

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

Hi @amitchandak ,

 

Tried the measure but it is not working.

may be I confused the forum just to make sure we have more clarification adding screen shots below please find below

 

praveenpasila_0-1675938675660.png

Selecting the date slicers and other slicer such as "Code" the data is displaying fine in all the charts.

 

But when a specific "Code" is selected the date slicers are not showing relavent values its showing all dates from the respective disconnected tables 

 

praveenpasila_3-1675938890943.png

 

praveenpasila_2-1675938851145.png

Can we make them show only relavent values and not all dates from the Disc tables

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors