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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Super User
Super User

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors