cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Enan
Helper I
Helper I

Display Filter selection in Card

Hi,

I want to display the selected filter values in a card visual and if there is no sselection from filter it shows "Full Date Range"

So every time the user selects the date range it show on card.

For example:

Selection Period: 01/01/2021 - 12/31/2023 (When filter is used to select values)
Selection Period: Full Date Range (When no date range is selcted from filter)

Thank you for your help and guidance.

Filter.jfif

1 ACCEPTED SOLUTION
v-xinruzhu-msft
Community Support
Community Support

Hi @Enan 

You can create a measure

Measure = MIN('Table'[Date])&"-"&MAX('Table'[Date])

Output

vxinruzhumsft_0-1677648322057.png

 

vxinruzhumsft_1-1677648352853.png

Best Regards!

Yolo Zhu

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

View solution in original post

1 REPLY 1
v-xinruzhu-msft
Community Support
Community Support

Hi @Enan 

You can create a measure

Measure = MIN('Table'[Date])&"-"&MAX('Table'[Date])

Output

vxinruzhumsft_0-1677648322057.png

 

vxinruzhumsft_1-1677648352853.png

Best Regards!

Yolo Zhu

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

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors