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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Pricey79
Helper V
Helper V

Status Change Help Please

Hello, I was hoping someone could help me please.

 

I have a column called Status of which the data comes from a dataflow, of which I dont have access to control/change.

Is there a way in power BI desktop for me to add when the Status column changes to a particular status? 

So for example, I would like to know the date that the status was changed to Approved

 

Thank you in advance. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Pricey79 ,

a new column

= if([Status]= "Approved", [Date], blank())

 

a new measure

maxx(filter(Table[Status]= "Approved"), [Date])

 

USe measure with id or something for which you are looking for status change

 

 

or

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

View solution in original post

5 REPLIES 5
mohammedadnant
Impactful Individual
Impactful Individual

Hi @Pricey79 

 

If you want to know when the status changed to "Approved" then there must be a date column in the dataflow to track the changes. pls check for this

 

 

Thanks & Regards,

Mohammed Adnan

Learn Power platform from TAIK18 <-- click on the name

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!

Thanks & Regards,
Mohammed Adnan
Learn Power BI: https://www.youtube.com/c/taik18
amitchandak
Super User
Super User

@Pricey79 ,

a new column

= if([Status]= "Approved", [Date], blank())

 

a new measure

maxx(filter(Table[Status]= "Approved"), [Date])

 

USe measure with id or something for which you are looking for status change

 

 

or

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

@amitchandak Thank you for taking the time to reply

Sorry, what Date field should go here?  = if([Status]= "Approved", [Date], blank())

I get a red squiggly line under the word date

 

Thank you 

Hi @Pricey79 

if the dataflow has column [Status] & [Date] both, then you can use the Dax expression mentioned by amit. otherwise it will show a red line under [Date] because the dataflow doesn't have this column.
Perhaps you need to contact the owner of the dataset to add the date column in dataflow.

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution✔️ to help the other members find it more quickly.

@v-xiaotang thank you for your reply 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.