Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
5 | |
4 | |
3 | |
3 |
User | Count |
---|---|
11 | |
11 | |
7 | |
3 | |
2 |