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
Mkhubaib
Frequent Visitor

Merging same row data in column into one

So i am having a trouble here. Below mentioned is the sample data

luxe.png

 

Here in LineItemCategory column Luxury Pret and Luxe Pret are same. So for visulaization i want to merge both of these and find the sum of LineItemQTY. Can any body help me with this.

 

When i visualize the existing data i get both of these as seperate categories as shown bwlow:

pret.png

 

So again i just want both Luxury Pret and Luxe pret as same and sum of there LineItemQTY in visualization.

Thanks

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@Mkhubaib 

Create a calculated column like

Category = 
IF(Table[LineItemCategory] = "Luxe Pret", "Luxury Pret", Table[LineItemCategory])

and use this new column for visual as a category 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

@Mkhubaib 

Create a calculated column like

Category = 
IF(Table[LineItemCategory] = "Luxe Pret", "Luxury Pret", Table[LineItemCategory])

and use this new column for visual as a category 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
amitchandak
Super User
Super User

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.