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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Using Powerbi create a new column conditioning with Designated Supervisor for the Given Product.

Abhiraj_45_0-1698848575975.png

I want to create a new column which are highlighted in Red, based of the given table EMP. Which has Product, Shipper EMP#, SHipper Column and Shipper Titile. Context is i as per the data I want Supervisor with that product to be displayed under all the given records for that given product but in a new column.

1 REPLY 1
rsbin
Super User
Super User

@Anonymous ,

One method for your first calculated column can be written like this:

Supervisor = CALCULATE( MAX( EMP[ShipperColumn] ),
                 FILTER( EMP, EMP[Product] = MAX( EMP[Product] ) &&
                          EMP[ShipperTitle] = "Supervisor" )) 

rsbin_0-1698853338111.png

 

Then for the second one replace [ShipperColumn] with [Shipper Emp#].

I believe this will give you the results you are looking for.

In the future, please paste sample data as text, not as a picture.  It will be faster and easier for the Community to provide answers.

Regards,

 

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.

Top Solution Authors
Top Kudoed Authors