Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Solved! Go to Solution.
You don't need the IF statements within SWITCH, try
Days for IV Approval =
SWITCH (
TRUE (),
ISBLANK ( [Ready for Treasury Approval] )
&& ISBLANK ( [Ready for Credit Approval] )
&& ISBLANK ( [Ready for Tax Approval] )
&& ISBLANK ( [Ready for Category Manager Approval] )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) ), [Ready for Independent Validation Approval] - [Submitted to Workflow],
ISBLANK ( [Ready for Treasury Approval] )
&& ISBLANK ( [Ready for Credit Approval] )
&& ISBLANK ( [Ready for Tax Approval] )
&& NOT ( ISBLANK ( [Ready for Category Manager Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ),
[Ready for Independent Validation Approval] - [Ready for Category Manager Approval],
ISBLANK ( [Ready for Treasury Approval] )
&& ISBLANK ( [Ready for Credit Approval] )
&& NOT ( ISBLANK ( [Ready for Tax Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ), [Ready for Independent Validation Approval] - [Ready for Tax Approval],
ISBLANK ( [Ready for Treasury Approval] )
&& NOT ( ISBLANK ( [Ready for Credit Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ), [Ready for Independent Validation Approval] - [Ready for Credit Approval],
NOT ( ISBLANK ( [Ready for Treasury Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ), [Ready for Independent Validation Approval] - [Ready for Treasury Approval]
)
Thank you!
You don't need the IF statements within SWITCH, try
Days for IV Approval =
SWITCH (
TRUE (),
ISBLANK ( [Ready for Treasury Approval] )
&& ISBLANK ( [Ready for Credit Approval] )
&& ISBLANK ( [Ready for Tax Approval] )
&& ISBLANK ( [Ready for Category Manager Approval] )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) ), [Ready for Independent Validation Approval] - [Submitted to Workflow],
ISBLANK ( [Ready for Treasury Approval] )
&& ISBLANK ( [Ready for Credit Approval] )
&& ISBLANK ( [Ready for Tax Approval] )
&& NOT ( ISBLANK ( [Ready for Category Manager Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ),
[Ready for Independent Validation Approval] - [Ready for Category Manager Approval],
ISBLANK ( [Ready for Treasury Approval] )
&& ISBLANK ( [Ready for Credit Approval] )
&& NOT ( ISBLANK ( [Ready for Tax Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ), [Ready for Independent Validation Approval] - [Ready for Tax Approval],
ISBLANK ( [Ready for Treasury Approval] )
&& NOT ( ISBLANK ( [Ready for Credit Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ), [Ready for Independent Validation Approval] - [Ready for Credit Approval],
NOT ( ISBLANK ( [Ready for Treasury Approval] ) )
&& NOT ( ISBLANK ( [Ready for Independent Validation Approval] ) )
&& NOT ( ISBLANK ( [Submitted to Workflow] ) ), [Ready for Independent Validation Approval] - [Ready for Treasury Approval]
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.