GRCArizona
Board Regular
- Joined
- Apr 24, 2010
- Messages
- 95
Hi - I've relatively new to Power Query and I can't seem to find out how to accomplish this. I've got a date in a cell (start of our Fiscal Year). I'm trying to filter a column of data in Power Query that is greater than or equal to the Fiscal Year date in the excel cell. I've created a table in excel with the Fiscal Date and brought it over to Power Query ("tbl_Start_Date"). My M Code is:
=Table.SelectRows(#"Expanded Table Column1", each [Policy Start Date] >=(tbl_Start_Date))
but I'm getting an Expression.Error: We cannot apply operator < to types DateTime and Date.
It works perfect if I only use "=" and get rid of the greater than portion.
I've searched for about an hour now and can't seem to find where anyone else has asked this.
Any help is greatly appreciated!
thanks
GRC
=Table.SelectRows(#"Expanded Table Column1", each [Policy Start Date] >=(tbl_Start_Date))
but I'm getting an Expression.Error: We cannot apply operator < to types DateTime and Date.
It works perfect if I only use "=" and get rid of the greater than portion.
I've searched for about an hour now and can't seem to find where anyone else has asked this.
Any help is greatly appreciated!
thanks
GRC