Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello, I'm struggling to create DAX to display the following:
I want to divide every value in column 'consumedunits' to the grand total of the same column. To give a better understanding, I used excel to achieve this result and it looks like this:
The highlighted number is the SUM of column I (I7). The formula for Column J is =I2/I7. Basically a percent but I want it in decimal value.
I want the result from column J to be the same in PowerBI.
Solved! Go to Solution.
@bins007 , Yesterday I replied to similar problem, first you need to create a measure using calculate and All for total value
Proud to be a Super User! |
|
Please check it. Its a simple division.
hi @bins007 ,
you can add a calculated column like:
Column = DIVIDE([Units], SUM([Units]))
it worked like:
or you plot a visual with [unit] column and a measure like:
WeightMeasure =
DIVIDE(
SUM(data[Units]),
SUMX(all(data), [Units])
)
it works like:
@bins007 , Yesterday I replied to similar problem, first you need to create a measure using calculate and All for total value
Proud to be a Super User! |
|