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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.