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.
How to Create Messure Divide Sum Current Category and Total of Category. Same Excel Formula as Attach Picture
Solved! Go to Solution.
Hi @Noppadon
Ok, try this.
Sales pct Brand = DIVIDE( [Sales], --your Measure or Expresion example SUM(SalesTable[Net Sales]) CALCULATE( [Sales], -- again, your Measure or Expresion example SUM(SalesTable[Net Sales]) ALLSELECTED(), VALUES('Product'[Brand]) --Brand Column ) )
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Mariusz,
Result is incorrect. In case i want to divide net sales of men (gender Category) and Total Net sales of Nike (Brand Category)
@Noppadon wrote:How to Create Messure Divide Sum Current Category and Total of Category. Same Excel Formula as Attach Picture
Hi @Noppadon
Ok, try this.
Sales pct Brand = DIVIDE( [Sales], --your Measure or Expresion example SUM(SalesTable[Net Sales]) CALCULATE( [Sales], -- again, your Measure or Expresion example SUM(SalesTable[Net Sales]) ALLSELECTED(), VALUES('Product'[Brand]) --Brand Column ) )
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Noppadon
You can use the expression below.
Sales % of Total = DIVIDE( [Sales], --your Measure or Expresion example SUM(SalesTable[Net Sales]) CALCULATE( [Sales], -- again, your Measure or Expresion example SUM(SalesTable[Net Sales]) ALL(Sales) -- your table ) )
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |