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
mgilbert
New Member

Display a date range in visualization

I have agents call records with the date of the calls, talk time and call counts in a visualization and I want to dislplay the date range as a lable for the full set of records. I know that I can use the Min and max function for the dates. As an example I have call record for a week and need to show the user the records cover from 1/30/17 to 2/3/17.

3 REPLIES 3
Anonymous
Not applicable

How about creating 'From Date' and 'To Date' measures (or similar names) using MIN and MAX as you've suggested, then displaying these on a Multi-Row Card visual?

My goal is to display the min and max date for the entire dataset and only display in once on the visual like a label or a title.

Hi @mgilbert,

You'd better create measures to get the min and max date as follows. Then add the measures to visualization.

 

Max=CALCULATE(MAX(Table[Date]),ALL(Table))

Min=CALCULATE(MIN(Table[Date]),ALL(Table))


If this doesn't resolve your issue, please share some sample data and expected result. Thanks a lot.

Best Regards,
Angelia

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.