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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
am_i_really
Frequent Visitor

Combine and get average value from rows based on unique ID

Hi All, 

 

I currently have a column with 3 rows each that have the same unique ID with 3 different values in the corresponding column. I'm looking to average the value in the "NPS Score" Column and have only one row per unique ID. Table name is "NPS Rating".

am_i_really_0-1746024374775.png

 

Thanks in advance!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

In Power Query choose "Group by". Group by [Inspection ID] and add a column that computes the average of [NPS score]

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You may drag the Inspection ID to the row labels of a Table/Matrix visual and use this measure

Avg = average(Data[NPS Score])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

In Power Query choose "Group by". Group by [Inspection ID] and add a column that computes the average of [NPS score]

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.