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! Request now

Reply
rpredmore
Frequent Visitor

How to have simple text display the dates that are in the date range slicer?

Hello,

 

I have a Power BI report with a date range slicer. The date range slicer is in a menu that is hidden behind a hamburger icon

(user has to click the hamburger icon to open the menu to see and edit the date range slicer). I want the user to be able to see what dates are selected in the date range slicer without needing to click open the slicer menu. (I want them to be able to see the dates only, if they want to edit the dates they will need to open the menu and make the edit in the date range slicer).

 

Does anyone know how I can accomplish this?

 
 
 

2020-11-04_18-55-34.png

 
 
1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

@rpredmore ,

 

You can create a measure, formatting the result and displaying it on a card.

The measure should get the min and max values selected, like:

 

Measure:

VAR _minDate = CALCULATE(MIN(TABLE[DATE]), ALLSELECTED(TABLE))

VAR _maxDate = CALCULATE(MAX(TABLE[DATE]), ALLSELECTED(TABLE))

RETURN

   "Date: " & FORMAT(_minDate, "YYYY-MM-DD") & " - " & FORMAT(_maxDate, "YYYY-MM-DD")

 

Check the attached file.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @rpredmore ,

 

Try this.

Measure = 
VAR x = MIN('Table'[Date] )
VAR y = MAX('Table'[Date])
RETURN
x & "--" & y

v-lionel-msft_0-1604909992848.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@rpredmore , You can remove the bookrmarks or Have a slicer that is not controlled by slicer

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

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
camargos88
Community Champion
Community Champion

@rpredmore ,

 

You can create a measure, formatting the result and displaying it on a card.

The measure should get the min and max values selected, like:

 

Measure:

VAR _minDate = CALCULATE(MIN(TABLE[DATE]), ALLSELECTED(TABLE))

VAR _maxDate = CALCULATE(MAX(TABLE[DATE]), ALLSELECTED(TABLE))

RETURN

   "Date: " & FORMAT(_minDate, "YYYY-MM-DD") & " - " & FORMAT(_maxDate, "YYYY-MM-DD")

 

Check the attached file.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



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