Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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