Forum Discussion
andyor
3 years agoResolver I
Direct Query with Date parameters
I am using DQ mode to query a basic table on TransactionDate. The issue is that the database times are UTC time, but the server is in local time. For this purpose, a function ufnToUTCTime() is called...
amitchandak
3 years agoSuper User
andyor , use m parameter and use them in the filter of query
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters
Try not to use declare.