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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JBGilbert
New Member

Normalize Hourly Averages by the Daily Average

I have a list of hourly data and using the slicer to average over a date range.  In the table below, I have the average hour-by-hour data shown in a table (measures).  At the bottom of the table is the average of all hours over the entire date range.  I would like to show the percentage (or ratio) for each hour divided by this average of all the data.  

 

In the table below, the first row would be 5,288 / 6,385 = 0.828   Second row would be 5,226 / 6,385...  Everytime I try to do it, I just end up with 1.0.  

 

Thank you for your help

 

 

JBGilbert_0-1665447539743.png

 

2 REPLIES 2
JBGilbert
New Member

Sorry, my column labels are bit unclear.  The "total" column is a measure that averages the total of 2 other columns called Zone 3 and GS.FW...  Total is the average flow for each hour, over a given slicer date range.  However, I would like the average of all data & times, like the number 6,223 shown at the bottom of the Total column.   Then I want to divide each hour by that number so I normalize on that number (the avg of all times and dates within the range).   Everytime I try it, though, I just get 1.00 because averages only for that hour.  

 

Thanks

 

 

JBGilbert_0-1665497855017.png

 

Shaurya
Memorable Member
Memorable Member

Hi @JBGilbert,

 

Use the following DAX formula to create a new column:

 

Average Ratio = 'Table'[Total]/AVERAGE('Table'[Total])

 

Screenshot 2022-10-11 064037.jpg

 

Works for you? Mark this post as a solution if it does!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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