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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.