Forum Discussion
AllanBerces
2 years agoPost Prodigy
IF or Switch
Hi good day can anyone assist me on my query. I have table, I want the Stutus "Not Startted" if the date is in coming or in futere "Delayed" if the date already pass on the end date and the progres...
- 2 years ago
Hi AllanBerces
You can create a calculated column with the dax :Status =if('Table'[Remarks]=1,"Completed",If ([P1 Sta]>=TODAY(),"Not started",if ('Table'[Remarks]<1 && 'Table'[P1 En]<TODAY(),"Delayed",if('Table'[Remarks]<1 &&'Table'[P1 En]>=TODAY(), "In progress"))))The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Ritaf1983
2 years agoSuper User
Hi AllanBerces
You can create a calculated column with the dax :
Status =
if('Table'[Remarks]=1,"Completed",
If ([P1 Sta]>=TODAY(),"Not started",
if ('Table'[Remarks]<1 && 'Table'[P1 En]<TODAY(),"Delayed",
if('Table'[Remarks]<1 &&'Table'[P1 En]>=TODAY(), "In progress")
)))
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
- AllanBerces2 years agoPost Prodigy
Hi Ritaf1983 Chakravarthy thank you for the help, working great.
- Ritaf19832 years agoSuper User
Happy to help 🙂