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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors