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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mfaisalk
Regular Visitor

Add a new column based on filter in one column and conditions in other.

Hello,

 

I want to create a one new column as following ( Power query excel)

 

1. In the custom column shown here I have two values , Lost and New

2. When I filter on Lost,  The new column should have same dates as in "Last seen"

3. When I filter on New , The new column should have sames dates as in "First seen"

 

How to go about it ?

 

J81fnTy

1 ACCEPTED SOLUTION
mfaisalk
Regular Visitor

Thank you @AlB , I figured it out. By using conditional columns!

View solution in original post

2 REPLIES 2
mfaisalk
Regular Visitor

Thank you @AlB , I figured it out. By using conditional columns!

AlB
Community Champion
Community Champion

Hi @mfaisalk 

Can you share  a sample of the data, in text-tabular format so that the contents can be copied and the expected result for that sample?

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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