Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm trying to remove future dates from my table.
I tried the below m query which errors, saying the operator 'not' cannot be applied to type DateTime:
= Table.SelectRows(PreviousStep, each not [Received Date] > DateTime.LocalNow())
Any suggestions?
Solved! Go to Solution.
Hello @Anonymous,
Create a column Like this,
or you can try below m query to filter the future dates
= Table.SelectRows(#"Changed Type", each [Date] <= Date.From(DateTime.LocalNow()))
Hello @Anonymous,
Create a column Like this,
= Table.SelectRows(Kept24months, each not ([Received Date] > DateTime.LocalNow()))
or
= Table.SelectRows(Kept24months, each [Received Date] <= DateTime.LocalNow())
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |