Forum Discussion
Date between slicer - Change order
- 5 months ago
Hi PowerBILeaner26 ,
Thank you for the response.The reverse index approach works functionally, but you’re right, it doesn’t show the actual date range to the user.
A common workaround is to keep the reverse index slicer and add a dynamic measure to display the selected date range in a Card visual.
1. Create measures
Selected Start Date =
CALCULATE(
MAX('Date'[Date]),
FILTER(ALL('Date'),
'Date'[ReverseIndex] = MIN('Date'[ReverseIndex])
))
Selected End Date =
CALCULATE(
MIN('Date'[Date]),
FILTER(ALL('Date'),
'Date'[ReverseIndex] = MAX('Date'[ReverseIndex])
))2. Create display measure
Selected Date Range =
"From: " & FORMAT([Selected Start Date], "dd MMM yyyy") &
" To: " & FORMAT([Selected End Date], "dd MMM yyyy")3. Add to report
Keep using ReverseIndex slicer
Add a Card visual
Use Selected Date RangeThis way users can still control the slider (latest to oldest) while clearly seeing:
“From: [Start Date] To: [End Date]”
Hope this helps.Thank you
The Between date slicer always shows the earlier date on the left and the later date on the right. Unfortunately, this order cannot be reversed, it’s fixed by design in Power BI.
Thanks cengizhanarslan and thanks for the quick response.
Is there any slider control to control 2 to 3 line charts when using the slider control (from left to right)?
- Natarajan_M6 months agoSuper User
Hi PowerBILeaner26 , Can you please explain the scenario with an example ?
- PowerBILeaner266 months agoRegular Visitor
Here is the example.
The both chart should move from left to right when we move the slider (right now using Date between slider) and this will work when the date from minimum to maximum but the chart is displaying the higher date in the beginning.
A question: Is there any slider control (without date) so that it will move from higher date to lower date on the charts.
- Natarajan_M6 months agoSuper User
Hi PowerBILeaner26 ,
If we set the Slicer option to "After," this will closely match your requirements. This setting will fix the maximum date in the date dimension, allowing you to control the slider and adjust the starting value.
Thanks
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster