Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
StidifordN
Helper III
Helper III

Column - Unique / First Supplier Name of duplicate ABN's

Afternoon all, 

This one seem simple in my mind but struggling to solve it with DAX

I have a large supplier database - with some suppliers having multiple entries (for various reasons) but these multiple entries all have a common ABN reference number.   These various suppliers entires may have potentially differing supplier names.

For the example below - I would like a column to the right hand side to populate with just one of the two (or more) supplier names that are available.  The first, or the last... not really important.  But a single unique supplier name column per ABN.

Capture1113333.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @StidifordN 

Measure = CALCULATE(FIRSTNONBLANK('Table'[SupplierName],TRUE()),ALLEXCEPT('Table','Table'[ABN]))

Please use this measure to get first name for each ABN 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @StidifordN 

Measure = CALCULATE(FIRSTNONBLANK('Table'[SupplierName],TRUE()),ALLEXCEPT('Table','Table'[ABN]))

Please use this measure to get first name for each ABN 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.