Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi All,
I have to filter my the report within the current date and it should not exceed the current date and display the date.I have found the below query as a solution
= Table.SelectRows(#"Renamed Columns1", each [Appointment Date By] <= Date.From(DateTime.LocalNow()))
but the query throws a error "We cannot apply operator < to types Date and DateTime.
Details:"
I am new to power BI , can anyone please let me know whether a solution is possible?
Kind Regards,
Anna
Solved! Go to Solution.
Hi
I got a solution by using the below code
= Table.SelectRows(#"Changed Type", each [Appointment Date By] <= #datetime(Date.Year(DateTime.LocalNow()), Date.Month(DateTime.LocalNow()) ,Date.Day(DateTime.LocalNow()), 23, 59, 0))
Now the date has been filtered !!
- Anna
= Table.SelectRows(#"Expanded NewColumn", each [Repair Completion Date] <= Date.From(DateTime.LocalNow()))
i ran this and had no issues on it - my repair completion is a DateTime
Proud to be a Super User!
Hi
I got a solution by using the below code
= Table.SelectRows(#"Changed Type", each [Appointment Date By] <= #datetime(Date.Year(DateTime.LocalNow()), Date.Month(DateTime.LocalNow()) ,Date.Day(DateTime.LocalNow()), 23, 59, 0))
Now the date has been filtered !!
- Anna
Hi
I got a solution by using the below code
= Table.SelectRows(#"Changed Type", each [Appointment Date By] <= #datetime(Date.Year(DateTime.LocalNow()), Date.Month(DateTime.LocalNow()) ,Date.Day(DateTime.LocalNow()), 23, 59, 0))
Now the date has been filtered !!
- Anna
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 58 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 121 | |
| 116 | |
| 37 | |
| 34 | |
| 30 |