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 many rows of detail that I need to maintain, but I also need sum for multiple rows to generate ROI.
Promotion # | Gross Sales | Gross Sales (Promo) |
123 | $100 | $300 |
123 | $200 | $300 |
124 | $50 | $50 |
I need dax to sum up the total of both lines of gross sales on promo 123 to the aggregate Gross Sales (Promo) line.
Help?
Solved! Go to Solution.
Hi, @nj-matt
If you just want to sum values by group, please use formula as below:
measure/calculated column:
Gross Sales (Promo) = CALCULATE(SUM('Table'[Gross Sales]),ALLEXCEPT('Table','Table'[Promotion #]))
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @nj-matt
If you just want to sum values by group, please use formula as below:
measure/calculated column:
Gross Sales (Promo) = CALCULATE(SUM('Table'[Gross Sales]),ALLEXCEPT('Table','Table'[Promotion #]))
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@nj-matt try this
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |