NVL equvalent in Power Query for date related formulas

robtops

New Member
Joined
Sep 23, 2014
Messages
8
I'm preparing a data source in Power query and I'm having some trouble with formulas involving date columns which legitimately have a lot of null values.

Is there an equivalent to NVL (oracle) in Power query I can use when writing the formulas to deal with null values as I'm getting errors.

I'm also looking for advice on how to write a formula that returns "Yes" if a date is between 2 other dates. Is there a power query equivalent to between (oracle)?

Any help would be much appreciated

Thanks very much

Rob
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I've been searching all over the place for a solution to what I though should be pretty simple but still can't get it to work.

In Oracle my query looks like:

Case when first_reminder_expected_date between NVL(Entry_date, '30-Dec-9999') and NVL(Exit_Date,'31-DEC-9999')

I'm sure I'm doing something pretty basic wrong but can't seem to figure it out. Any advice on how to achieve the same result in Power Query would be much appreciated

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top