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
Anonymous
Not applicable

Add non-repeated columns

Hello everyone,

 

In the attached picture, i need to add how much residential and commercial do i have with removing the repeated customer names in Power BI. So that at the end i have 2 residential and 1 commercial. How can i do that?

 

Screenshot 2021-10-19 124145.jpg

 

Thanks in advance!

3 REPLIES 3
timg
Solution Sage
Solution Sage

Hi sr12,

You could do this by opening the Power Query editor, selecting all columns, and then right click and press "remove duplicates". 

1.png

This will remove all duplicate rows based on the columns you selected.

 

regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hi @timg,

Thank you for your reply,

 

I dont want to permenantly remove the columns since i need them for other measures, so the table is actually bigger than that.

Anonymous
Not applicable

@Anonymous Try this:

Measure=var tempTable=SUMMARIZE('Table','Table'[Customer],'Table'[Vartical])

return COUNTROWS(tempTable)

 

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
Top Kudoed Authors