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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
CMccown
Helper I
Helper I

Need an expression to return the date and hour of each peak value

I have a DAX measure to return a peak hourly value in a table called System_Load:

Peak System Load = MAX(System_Load [Hr Sys Load])

 

I can build the following table with this expression - this represents the peak value for each month with the year filter applied:

CMccown_2-1671566225502.png

 

I need to be able to calculate the corresponding date and hour that these values occurred to be able to build a table similar to this:

CMccown_3-1671566440606.png

 

My raw data table looks like the following:

CMccown_1-1671565972910.png

Your assistance is greatly appreciated!

4 REPLIES 4
CMccown
Helper I
Helper I

@nick_potts, I am able to create a matrix visual for the table itself but I do need a measure to return the individual dates to use as a basis for graphs in a separate data table and haven't quite wrapped my head around that. Any help is appreciated.

Just pase here a values from that table so we can copy it 😉 Sample data needed.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




nick_potts
New Member

This looks like it'll be a matrix visual with the hour as your row then date and day of week as your columns. You might even be able to drop that previous measure for peak load as your value. It should use context to filter down to the hour and date. You'll need to make a day of week column on that table using the date field 

bolfri
Solution Sage
Solution Sage

Can you share a PBIX file with sample data or a table so everyone can copy and paste it? 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.