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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Abz_17
Helper I
Helper I

Display Date Range on Card Using Dates Filter

Hi All, 

 

I am in need of some help. I have a visual which has a date range filter on it. Is there any way to show the actual dates from the filter in a card at all (in this case 01/06/2022 - 31/05/2023)?

 

Abz_17_0-1687368416973.png

I have tried the following measure but the date goes as far back as the earliest date in the data set

 

Date_Range = MIN('Attendance Date'[Date])&"-"&MAX('Attendance Date'[Date])

 

Do I need to tweek something in the above measure? Or is it something else?


Any help would be appreciated. 

 

Thanks

 

1 REPLY 1
Anonymous
Not applicable

Hi @Abz_17 

The view will return the value of the corresponding time period in the date table according to the filter, but according to your description you want to return the value filtered by the filter, you first need to ensure that the value of this filter exists in your date table, for example, you are filtering the value to 5/1/2023, please make sure that you have a value to 5/1/2023 in your date table, if the maximum value in your date table is 3/31/2023, then it can only return Values for the period 6/1/2022-3/31/2023.

 

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.