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
sniper007
Regular Visitor

grouping a column in powerbi

Hello
I want to sum the orders and the average price and the number of orders per family of items and not per item.
I want to try to create a set of families for each item,
for example in the column "LibelleArticle" :
the article "THALA GRIS EP 2 CM"  belongs to the family "  Marbre local" ...
so I simply want to create several families, each one has articles.

 

sniper007_0-1625225489733.png

the families of the articles are:

Granite 

Marbre local 

Marbre imprté 

Onyx

Quartz 

Service 

 
5 REPLIES 5
smpa01
Super User
Super User

Can you provide sample data and expected output by pasting the same here?

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
sniper007
Regular Visitor

no i don't have any mappping table 

just i want to divide the LibelleArticle column into families each one contains articles 

@sniper007

do you want to transfer libellearticle to familiy? pls proivde detailed logic.





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

Proud to be a Super User!




Anonymous
Not applicable

HI @sniper007,

Can you please share some more detail about the mapping logic that used to group your categories? It should help us clarify your scenario and coding formula:

How to Get Your Question Answered Quickly 

Regards,
Xiaoxin Sheng

ryan_mayu
Super User
Super User

@sniper007 

do you have a mapping table?

if you have ,you can use lookupvalue to get the family info





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

Proud to be a Super User!




Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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