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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ChrisIgnyte
New Member

Select a Date Based on Condition without Creating Another Table

Below is a sample of my data:

 

application_id-status_code-status_date

00001-020-09/25/2021

00001-025-12/31/2021

00002-061-01/05/2022

00002-020-06/01/2021

 

I am trying to add a new column identifying the dates where the status code is equal to "020". I can do this by creating a new table and relating the two tables together, but I would like to avoid creating a new table.

2 REPLIES 2
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @ChrisIgnyte ,

 

Not sure whether I am on the right track, but are you looking for something like this?

tomfox_0-1647540310927.png

Here the code:

TomsStatusColumn = 
IF ( Table[status_code] = 20, Table[status_date], BLANK() )


Does this help? 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

This is close. Ideally, I would like it to fill all the way down for application_id.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.