Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table with a column Amount and a column Product.
The product is a name and can vary through the months , it's got a lot of values.
I want to make a calculation the SUM of the Amount for every product seperately without
using the Product name explicitly in the DAX code.
I want to do this in the DirectQuery Mode , I am not familyar enought with the restrictions of this mode
Solved! Go to Solution.
Hi @DannyBolier,
You could refer to below formula to create a measure:
Measure = CALCULATE ( SUM ( test[Amount] ), ALLEXCEPT ( test, test[Product] ) )
Regards,
Yuliana Gu
Hi @DannyBolier,
You could refer to below formula to create a measure:
Measure = CALCULATE ( SUM ( test[Amount] ), ALLEXCEPT ( test, test[Product] ) )
Regards,
Yuliana Gu
User | Count |
---|---|
11 | |
10 | |
8 | |
2 | |
2 |
User | Count |
---|---|
15 | |
9 | |
6 | |
2 | |
2 |