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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
urpalani
Helper II
Helper II

Calculate Avg

Hi Experts,

 

I want to calculate the Avg that is based on WT/TE ,i am not getting the sum of Avg ,

When i am doing sum i am getting 29.9 + 33.8 and when i am doing Avg it is (29.9 + 33.8) / 2 

 

But my expectation is 724.5/22 ( WT/TE) = 32.93

 

WT          TE    Avg

 149.3        5     29.9

 575.2       17    33.8

----------------------

724.5        22    32.93 (WT/TE)

 

 

Capture.PNG

Anybody have any idea,

 

Thanks,

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @urpalani,

 

Create a measure to calculate average value:

Avg measure = SUM('Source Table'[WT])/SUM('Source Table'[TE]) 

Then, your table visual looks like:

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
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
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @urpalani,

 

Create a measure to calculate average value:

Avg measure = SUM('Source Table'[WT])/SUM('Source Table'[TE]) 

Then, your table visual looks like:

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Is your Avg WT/TEU data coming from a measure?  It looks to me like your AVG WT/TEU is either raw data, or a calculated column.  If that was the case you won't get the correct answer.  If you can create a measure instead, you should get the bottom row context answer you expect.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.