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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Show Date slicer selection values in text box

Hello,

I tried to show start date and end data of the date slicer in a text box.

I was able to mimic Old post for item selection, those I have no problem to create.

 

I have trouble to show the values from the date slicer.

If I use the same code, it gives me all the values from the Calendar table.

 

My desired result:

Time period: <StartDate> to <EndDate> 

e.g. Time period: 7/19/2017 to 1/28/2018

 

Thanks in advance.

 

C1.PNGC2.PNG

1 ACCEPTED SOLUTION

HI @Anonymous

 

Sorry I misundertood the question

 

 

Measure = "Time Period :" & Min(TableName[Date]) & " to " & Max(TableName[Date])

Regards
Zubair

Please try my custom visuals

View solution in original post

4 REPLIES 4
Zubair_Muhammad
Community Champion
Community Champion

HI @Anonymous

 

Try this MEASURE

 

Measure =
CONCATENATEX (
    VALUES ( TableName[Date] ),
    CALCULATE ( SELECTEDVALUE ( TableName[Date] ) ),
    " , "
)

Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

It still shows a list of values within that selection range.

For example, if I select from Jan 1, 2018 to Jan 5, 2018; the outcomes are those five dates.

HI @Anonymous

 

Sorry I misundertood the question

 

 

Measure = "Time Period :" & Min(TableName[Date]) & " to " & Max(TableName[Date])

Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

Thanks very much.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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