- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using Min & Max date from dataset in report heading
I'd like to create a header for my report showing the date range of the data that is presented.
As I have a datestamp in my dataset for each record, I'm hoping to avoid hard coding the date range in my report, and instead finding some means to show the smallest/minimum date and the largest/maximum date, in order to show the period of the data.
I've tried playing text boxes and the like, but have not been able to apply a minimu or maximum selection to these.
My last resort is to try and create a reference query from my original dataset to include 1 record of 2 columns, with a "start" and "end" date. I'm not entirely excited about this as it does then prevent me in future from incuding a date filter on my report, and then having the report header dynamically update as well.
Any thoughts on how I could approach this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create two measures:
MaxDate = MAX([Date])
MinDate = MIN([Date])
Add each measure to its own individual card visualization.
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create two measures:
MaxDate = MAX([Date])
MinDate = MIN([Date])
Add each measure to its own individual card visualization.
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
02-16-2024 11:37 PM | |||
03-21-2024 11:49 PM | |||
11-10-2022 06:00 AM | |||
03-29-2024 02:35 AM | |||
03-19-2024 11:39 AM |