Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Multiply DirectQuery row value with imported table value (DAX)

In a composite model (mixed storage mode) I have a large fact table using DirectQuery (I am not able to change this source) and a small imported table which have a many-to-one relationship on "produc...
  • Applicable88's avatar
    Applicable88
    4 years ago

    Anonymous I would think the summarize doing its job, what would be the job of related function in a "normal" setting without direct query.

    Summarize is doing something like what group by is doing in SQL. Its grouping/aggregating where are many product id (facttable) to the table where is only one productId towards the right weight of that productID. 

    Thats also why you didnt got the right totals before. You were using the max weight of the entire table instead of the right weight of the filter context.