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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
YBob23
Regular Visitor

Average of n amount of columns

Hi All, 

 

I would like to create an average of value of all columns. For example I would like to know the average on 0-1 which will be average (57+60+58+54+75) = 60.8
my issue is, I cannot just do sum((T1_Count) + (T2_Count)+(T3_Count)+(T4_Count)+(T5_Count))/5, as the number of columns will get larger everyday therefore if I just type 5 the next day it will give me the wrong average.
Thanks.

 

YBob23_0-1663860250337.png

 

1 ACCEPTED SOLUTION
davehus
Memorable Member
Memorable Member

Hi @YBob23 ,

 

Your best option would be to normalize the data and unpivot on the hour column. Then you could apply an average much easier.

 

Did I help you today? Please accept my solution and hit the Kudos button.

View solution in original post

1 REPLY 1
davehus
Memorable Member
Memorable Member

Hi @YBob23 ,

 

Your best option would be to normalize the data and unpivot on the hour column. Then you could apply an average much easier.

 

Did I help you today? Please accept my solution and hit the Kudos button.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.