Forum Discussion
summarise measures
- 7 years ago
The product documentation covers the basics https://docs.microsoft.com/en-us/dax/crossjoin-function-dax
And the following article might also be of interest https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
Hmm, with measures from 2 different facts doing a SUMX just over rebates is not going to work. You might be able to do a crossjoin of the values of the keys from the 3 different dimension tables, then do a SUMX over that derived table, but I would be worried about the performance of a solution like that.
Is there any way of looking up the rebate for a given row in the purchase orders table?
If so you could probably create a calculated column in purchase orders or do a SUMX over that looking up the rebate amount.
Hi,
Developer which working with our company is helped me with a formula:
- d_gosbell7 years ago
Super User
Cool, that's the exact approach I was thinking of when I said "a crossjoin of the values of the keys from the 3 different dimension tables, then do a SUMX over that derived table". I'm glad you found a solution.
- Ritaf7 years ago
Responsive Resident
thanks a lot, can you recomnd me some materials to read / to see about cross join with dax?
- d_gosbell7 years ago
Super User
The product documentation covers the basics https://docs.microsoft.com/en-us/dax/crossjoin-function-dax
And the following article might also be of interest https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/