Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Does Power BI import everything before aggregating with Direct Query?

Hi Everyone,   I'm on Power BI desktop using Direct Query to connect to a database on Amazon Redshift.   I'm getting an issue when I try to get the count of a column from one table grouped by the...
  • Anonymous's avatar
    Anonymous
    7 years ago

    It looks like the issue was with the complexity of the Query Editor operations? I removed one of the steps which was "remove column" that someone added and it works now...

     

    I did find this in the documentation to support it:

     

    "If the Query Editor query is overly complex, an error will occur. To remedy the error you must either delete the problematic step in Query Editor, or Import the data instead of using DirectQuery. For multi-dimensional sources like SAP Business Warehouse, there is no Query Editor"

     

    Not too sure at this point why the remove column step was problematic but I can work with this. Hopefully this'll help others if they run into this issue.

     

    I appreciate your help Anonymous !