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! Learn more

Reply
Elache
Regular Visitor

Summarize tags from orders to customers table

Hello,
I want to group in my "Customer" table the tags that are assigned to customers in my "Orders" table. They are always the same tags that are assigned so there is no risk of duplication but I can't manage to do it. My ideal output is as follows:

ORDERS  CUSTOMERS
ClientTag ClientTag
A1 A1
B2 B2
C3 C3
A1   
A1   
B2   

Thank you very much for any help!
Have a nice day

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Elache 

Tag =
VAR _client = [Client]
RETURN
MINX(
    FILTER(Orders, Orders[Client]=_client),
    Orders[Tag]
)

View solution in original post

4 REPLIES 4
Elache
Regular Visitor

It's perfect! Thank you so much

 

FreemanZ
Super User
Super User

hi @Elache 

Tag =
VAR _client = [Client]
RETURN
MINX(
    FILTER(Orders, Orders[Client]=_client),
    Orders[Tag]
)
Elache
Regular Visitor

Hey @JorgePinho 
Thank you for your answer!
I want to add this to my existing customer table as a column. For information, my tag is a non numerical value.
Thank you!

 

 

JorgePinho
Solution Sage
Solution Sage

Hey @Elache! Try this DAX for a new table:

 

Table = SUMMARIZE(ORDERS, [Client], MAX(Tag))

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