please be aware that this requirement can not be resolved using calculated columns, this is due to the following:
calculated columns will only be "re-calculated" during data refresh
the change of a slicer value will not issue a re-calculation of calculated columns
As the value of "Delay Days" depends on a slicer value, this can not be used to as an input for a calculated column.
Please describe in more detail why you need this as a calculated column.
My assumption: you want to use "Delay Days" as a slicer or axis.
You may consider to provide a pbix file that contains some sample data but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you use and xlsx file to create the sample data, do not forget to upload the xlsx as well.
Basically, this kind of requirements can be solved by creating a disconnected table that represents all the possible values of "Delay Days", and some little more complex measures that map for e.g. the "Doc-No" to this disconnected table.
Hopefully this provides some additional insights.
Did I answer your question? Mark my post as a solution, this will help others!
Proud to be a Super User! I accept Kudos 😉 Hamburg, Germany