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
simrankalda
New Member

Create groups based on values from two columns.

Hi, 

I have requirement in which I need to create a new column based on the different combination of values from some other columns.  

For example Column Product contains - A,B,C fields and Column category contains - D,E,F. The new column is created as :

 Combination || New column values         

A & D              - 1

B & E               - 2

C & F              - 3 

 

Thanks in advance

 

 

2 REPLIES 2
simrankalda
New Member

Hi Amit, Thanks for the response

These two columns are present in different tables.

amitchandak
Super User
Super User

@simrankalda , what is logic

 

You have append

[Product] & [Category]

 

You can have rank

rankx(Table, [Combined column],,asc,dense)

 

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.