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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
JBennett12
Regular Visitor

I want to average up only the numbers in each row instead of the columns.

Hi, This is my first power bi and I'm having trouble finding help on averaging a row. Everything online is about averaging columns. I have tried to transpose my table, but end up with errors that won't allow me to work with it. 

I will have 22 numbers in each row that need to be averaged and about 450 rows. Is there a way to do this dynamically where I won' thave to write 450 formulas?

 

Thank you,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JBennett12 ,

I have created a simple sample, please refer to it to see if it helps you.

Click the Home>>Transform data. Click the rows you want to calculate. Then click Transform>> unpivot columns.

vpollymsft_0-1659576432493.png

vpollymsft_1-1659576443077.png

Then create a measure.

Measure = CALCULATE(AVERAGE('Table'[Value]),FILTER(ALL('Table'),'Table'[date]=SELECTEDVALUE('Table'[date])))

vpollymsft_2-1659576481065.png

If I have misunderstood your menaing, please provide your pbix file without privacy information and desired output with more details.

 


Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @JBennett12 ,

I have created a simple sample, please refer to it to see if it helps you.

Click the Home>>Transform data. Click the rows you want to calculate. Then click Transform>> unpivot columns.

vpollymsft_0-1659576432493.png

vpollymsft_1-1659576443077.png

Then create a measure.

Measure = CALCULATE(AVERAGE('Table'[Value]),FILTER(ALL('Table'),'Table'[date]=SELECTEDVALUE('Table'[date])))

vpollymsft_2-1659576481065.png

If I have misunderstood your menaing, please provide your pbix file without privacy information and desired output with more details.

 


Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

JBennett12
Regular Visitor

Sorry, I meant to post this as well, this is the first half of my list.

JBennett12_0-1659364301421.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors