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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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