Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

DirectQuery group by/aggregates

I think the following may be an obvious question but I'm continuing to run into the "we couldn't fold the expression to the data source" error.   I have a DirectQuery table (call that X_DETAIL), it...
  • Anonymous's avatar
    Anonymous
    3 years ago

    I did figure this out in the end, though I didn't find a way to write SQL directly to the DB to connect via DirectQuery, I had to use the GroupBy functionality in the data view. The other solution is for me to actually write a table that does the summaries for me in the database, but what I have works now.