Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
@Anonymous , Try a measure like
countrows(Filter(Table, Table[Due_date] <= today() && Table[Status] <> Done ))
Hi Amit,
@Anonymous , means a new column as flag
if( Table[Due_date] <= today() && Table[Status] <> "Done", 1, 0)
@amitchandrak that was my fault, had it set as a date.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |