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 August 31st. Request your voucher.
Outstanding Action Days =IF(AND(Status="C”),TODAY()-Response Date,"")
Outstanding Status=IF(AND(Outstanding Action Days="")," No Action Required",IF(AND(Outstanding Action Days<=21),"Outstanding Actions",IF(AND(Outstanding Action Days>21),"Overdue Actions","Check")))
Please i want calculated coumns based on above statment.
Solved! Go to Solution.
Hi @Anonymous
Create columns
Outstanding Action Days = IF([Status]="C",DATEDIFF([Reponse Date],TODAY(),DAY)) Outstanding Status = IF ( [Outstanding Action Days] = BLANK (), "No Action Required", IF ( [Outstanding Action Days] <= 21, "Outstanding Actions", "Overdue Actions" ) )
there is no "check" value matched in the condition.
If you need "check" to show, please share more details(data example/screenshots) for further analysis.
Hi @Anonymous
Create columns
Outstanding Action Days = IF([Status]="C",DATEDIFF([Reponse Date],TODAY(),DAY)) Outstanding Status = IF ( [Outstanding Action Days] = BLANK (), "No Action Required", IF ( [Outstanding Action Days] <= 21, "Outstanding Actions", "Overdue Actions" ) )
there is no "check" value matched in the condition.
If you need "check" to show, please share more details(data example/screenshots) for further analysis.
@Anonymous You can use DATEDIFF in your formula to calculate the difference between two dates. Also I would recommend using SWITCH in the Outstanding Status definition rathern than IF.