Forum Discussion
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.
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.
5 Replies
- amitchandakSuper 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.
- Pricey79Helper V
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
- v-xiaotangCommunity Support
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.
- mohammedadnantImpactful Individual