cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How to have card retrieve minimum and maximum date from date filter

Hi I am using the card visual as a title for a dashboard. Let's say my data is filtered to included 1/1/2018 - 7/31/2018.

 

I use the following dax for my title measure:

 Title = "Report for "&CONCATENATEX(VALUES(Table[Date]),Table[Date]

 

But when I do this, the title appears as: "Report for 1/1/2018,1/2/2018,1/3/2018..."

The way I would like it to appear is: "Report for 1/1/2018 - 7/31/2018"

 

 

Any ideas on how to achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: How to have card retrieve minimum and maximum date from date filter

@altesv

 

What if you simply use MIN and MAX

 

Title =
"Report for " & MIN ( Table[Date] )
    & " - "
    & MAX ( Table[Date] )
Regards,
Zubair


View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

Re: How to have card retrieve minimum and maximum date from date filter

@altesv

 

What if you simply use MIN and MAX

 

Title =
"Report for " & MIN ( Table[Date] )
    & " - "
    & MAX ( Table[Date] )
Regards,
Zubair


View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors