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 August 31st. Request your voucher.

Reply
aditamir
New Member

Combine similar column values and average them

Hi,
in my datasheet, I have similar data which is repeated in different ways, and I want to combine them under one title and perform an average calculation of their values. for example, under the column "JOB_TITLE" several options for an assistant. I want to combine all of them to under only "assistant" and for column "YEAR_SALARY" I want to average all the values.

 

(There is a problem with placing the full image here, so here's the URL)
https://i.ibb.co/LY6s1Hb/2021-05-31-19-54-49.jpg

 

Thanks for all the helpers (:

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @aditamir ,

 

I would group them in Power Query. Add a new column and check for certain criteria.

You could check if the name starts with "ASSISTANT" with the Text.StartsWith function.

For example:

Text.StartsWith([Job_Title], "ASSISTANT")

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

1 REPLY 1
selimovd
Super User
Super User

Hey @aditamir ,

 

I would group them in Power Query. Add a new column and check for certain criteria.

You could check if the name starts with "ASSISTANT" with the Text.StartsWith function.

For example:

Text.StartsWith([Job_Title], "ASSISTANT")

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

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.