Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31099

If Then Else to calculate a date

$
0
0

I am trying to calculate a date by using two date columns.  I want to use column  mos_d_override first but if there is a null value then i want to use mos_d_schedule.  I get results but not correct results.  The results of this formula are used in another formula to calculate past due days.  I  am new to this so please bear with me.  Thank you.

if [mos_d_override] is null then Date.AddDays([d_schedule] else Date.AddDays([mos_d_override]

 


Viewing all articles
Browse latest Browse all 31099

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>