The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi All,
I'm trying to create a column that will show the due date, if the status is not done.
so the data I have is similar to this:
Due_date | Status |
12/03/2022 | New |
13/03/2022 | Inprogress |
13/03/2022 | Done |
14/03/2022 | Done |
15/03/2022 | Inprogress |
16/03/2022 | New |
What I want to do is only capture those which are either new or inprogress, after the due date has passed, so in this example it would populate the first 2 and last 2.
I have this so far
Solved! Go to Solution.
Hi @Anonymous ,
According to this:
What I want to do is only capture those which are either new or inprogress, after the due date has passed, so in this example it would populate the first 2 and last 2.
It seems that you want to show rows where the date is not blank and the status <> Done, right?
If so, as @amitchandak mentioned, please create a flag measure ,and then apply it to visual-filter pane, set as "is 1":
Flag Measure = IF(MAX('Table'[Due_date])<>BLANK()&&MAX('Table'[Status])<>"Done",1,0)
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to this:
What I want to do is only capture those which are either new or inprogress, after the due date has passed, so in this example it would populate the first 2 and last 2.
It seems that you want to show rows where the date is not blank and the status <> Done, right?
If so, as @amitchandak mentioned, please create a flag measure ,and then apply it to visual-filter pane, set as "is 1":
Flag Measure = IF(MAX('Table'[Due_date])<>BLANK()&&MAX('Table'[Status])<>"Done",1,0)
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@amitchandrak i see that if the due date field is empty, it puts a 1 in the new column, how can i get around that?
Hi Amit,
@amitchandrak that was my fault, had it set as a date.