Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
76 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |