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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

undefinedcomparison specific products based on customer

In the data I have, there is a customer-specific or common material list, but in the data, sometimes a material can be private for 2 customers at the same time. I want to display the special materials that these 2 customers are separated from each other. How can I create this list in power bi? 

3 REPLIES 3
tamerj1
Super User
Super User

Hi @Anonymous 
Little confused so I'm trying to guess what exactly is required. This is sample file with the proposed solution https://www.dropbox.com/t/pEFYY7i8d2xZ2cBQ hope it satisfies your requirement.

1.png

Customers = 
CONCATENATEX (
    VALUES ( Data[customer] ),
    Data[customer],
    UNICHAR ( 10 ),
    Data[customer],
    ASC
)
Anonymous
Not applicable

componentcustomerspecial or custom situation
1234abccustom
1234abccustom
1234abccustom
1234bcdcustom
1234bcdcustom
1235bcdcustom
1235bcdcustom
1235xyzcustom
1235xyzcustom
1235xyzcustom
1236abccustom
1236abccustom
1236xyzcustom
1236xyzcustom

hi @tamerj1 

in here i want to see different component between 2 customer in dinamic way. ex. abc versus bcd output= 1236(which is disctict component of customer abc vs bcd)  not only one component by the way. in original data, there are tons of components.

tamerj1
Super User
Super User

Hi @Anonymous 

please provide a sample dummy data to work with and advise if you want that in power query or dax?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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