Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Query Folding

Does the report server support query folding? I ask why in the server update it does not bring all the data in queries with query folding.
  • d_gosbell's avatar
    d_gosbell
    6 years ago

    It's really hard to tell from just a screenshot, but my guess would be that you have some issue with date parsing. Maybe there is a slight difference in the local setting between your client and server or you have some dates stored as strings that then have to be cast during the join operation.

     

    If your Jan, Feb, Mar dates are stored as "1/1/2020" , "1/2/2020", and "1/3/2020" which would be common for a lot of the world outside the US, if these were interpreted using a US local they would appear to be 1 Jan 2020, 2 Jan 2020 and 3 Jan 2020 which might explain why all your data is appearing in Jan. Issues with regional settings can be notoriously tricky to track down as there could be settings at the server, user profile and application level to consider.

    I'd suggest you start by tracing the queries sent to the data source. Then run them outside Power BI and see what the results look like.