Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have two separate tables:
1. "From" date
2. "To" date
Both tables have identical list of dates but I would like to use both as them as separate slicers.
For Example, I have dates from 1/1/2019 till 20/1/2019.
If I selected 10/1/2019 in the "From" date slicer, I would like the "To" date slicer to only show the dates after 10/1/2019, which is the selected value in the "from" date slicer.
I have been searching the net for answers for a few days now and I hope someone can help me with this!
Solved! Go to Solution.
Hi @bcng,
Based on my test, you could refer to below steps:
Create a measure:
Measure = IF(CALCULATE(MAX('To'[Date]))>=SELECTEDVALUE('From'[Date]),1,0)
Set the visual slicer:
Result:
But the measure could not be applied it in the slicer, I suggest you use the measure in visual.
Regards,
Daniel He
So, typically the way you do that is to disconnect your slicers from everything using Edit Interactions. Then you create a measure that grabs the MAX or SELECTEDVALUE of each slicer and performs a calculation which returns a value if it is within that range or BLANK() or 0 otherwise and that essentially becomes your filter.
If that doesn't help, need more information to be more specific. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Hi Greg,
I tried using this measure:
Hi @bcng,
Based on my test, you could refer to below steps:
Create a measure:
Measure = IF(CALCULATE(MAX('To'[Date]))>=SELECTEDVALUE('From'[Date]),1,0)
Set the visual slicer:
Result:
But the measure could not be applied it in the slicer, I suggest you use the measure in visual.
Regards,
Daniel He
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
70 | |
63 | |
55 | |
48 | |
46 |