March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, how do I calculate Sum based on two columns.
Example (above) and expected output (bottom) :
Should I use Measure? Or create a new table instead?
Thanks!
Solved! Go to Solution.
Hi, @Anonymous
Please make sure the aggregation for 'Product_Code' is set as 'Don't summerize' and the aggregation for 'Product Qty' is set as 'Sum'.
Or you may create a measure as below.
Result = SUM('Table'[Product_Qty])
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Please make sure the aggregation for 'Product_Code' is set as 'Don't summerize' and the aggregation for 'Product Qty' is set as 'Sum'.
Or you may create a measure as below.
Result = SUM('Table'[Product_Qty])
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You can choose aggregation as sum or create a measure
Total product qty = Sum(Table[product_qty])
Take the other two as (so not summarize) in a table or on the row of the matrix visual .
Hi @Anonymous
just set aggregation as Sum in visual field Product_Qty settings
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |