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
tebtim19
Helper IV
Helper IV

Filter Added new Column

I have a table with status

Contractor, Staff, Vendor, Manager

I need to create new column

That it will show the name of the person who have manager status.

1 ACCEPTED SOLUTION

You have only provided one sample table? Are there multiple tables or are all columns in one table? If all in the same table, you can just add [Name] to a slicer. Then you have the ability to add [Status] to the 'Filters on this Visual' without needing to put [Status] actually in the visual. Set that filter to basic and select 'Manager'

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@tebtim19 , what is logic needed ?

if(isblank([manager]), blank(), 1)

AllisonKennedy
Super User
Super User

Are you wanting to do this in Power Query? Is the name of the person in the same table or a different table? If the same table, you can click Transform Data in the Home tab, then select Add Column > Conditional Column and add the column using the dialog box help.

If the Name of the person is in a different table, we need more information about both tables - what is the identifying key columns that connect them both?
https://excelwithallison.blogspot.com/2020/08/its-complicated-relationships-in-power_11.html

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

manikumar34
Solution Sage
Solution Sage

@tebtim19 , 

 

Not Clear, 

 

If you are looking to match the status with another table use Merge in Power Query or create a relationship on Status. 

 

If you want to answer your question quickly, please pose question with proper deatils and if possible share sample data. 

 

Regards, 

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




Hi, okay this are the sample tables

Name

Status

Location

Gender

Ana

Vendor

UK

Female

Ben

Manager

UK

Male

Jon

Staff

PHP

Male

Kyra

Manager

UK

Female

Linda

Staff

PHP

Female

Gina

Manager

UAE

Female

Porchia

Manager

PHP

Female

 

Now I want to make another column which will give me the name of the status Manager which are

 

Ben

Kyra

Gina

Prochia

 

I need this column so I can eaily use this to create a slicer of option of managers

You have only provided one sample table? Are there multiple tables or are all columns in one table? If all in the same table, you can just add [Name] to a slicer. Then you have the ability to add [Status] to the 'Filters on this Visual' without needing to put [Status] actually in the visual. Set that filter to basic and select 'Manager'

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.