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

IF DAX Statements

Hi, All I'm after help on this, 

 

I'm working on a list of suppliers of about 50 and I want to keep just 5 of the suppliers for a new column and make everyone else 'Others'

 

Please can I have a DAX formula that will output this? 

 

Many thanks.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
Please try

New Supplier Name =
IF (
    Sppliers[Supplier Name] IN { "Name1", "Name2", "Name3", "Name4", "Name5" },
    Sppliers[Supplier Name],
    "Others"
)

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 
Please try

New Supplier Name =
IF (
    Sppliers[Supplier Name] IN { "Name1", "Name2", "Name3", "Name4", "Name5" },
    Sppliers[Supplier Name],
    "Others"
)

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.