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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Is there a way to get the value of On Hand to be 32 using a calculated field?? My goal is to get the correct value which is 32 without using Average for the component 12P9813X032. But the value is showing 1280 because it's adding all the rows as showing in the table below.
Is there a way to get 32 using calculated field?
Solved! Go to Solution.
Hey @Anonymous ,
I think I found the reason. You added the formula as calculated column, but you have to add it as measure:
Then the result is correct:
To understand the difference, a calculated column is just a new column in the table. In your case you added a new column that returned for every row the average of
Hey @Anonymous ,
I think I found the reason. You added the formula as calculated column, but you have to add it as measure:
Then the result is correct:
To understand the difference, a calculated column is just a new column in the table. In your case you added a new column that returned for every row the average of
@selimovd thank you so much for this wonderful information. i didnot know it until you mentioned it to me. thanks!
@Anonymous I don't quite well understand your scenario. But What I understood from your post is you want 32 as an output for on hand average.
On Hand Average Measure = DIVIDE(SUM(TableName[RequiredQuantity]),SUM(TableName[On Hand Sum]))
I have a column in the table "Global_Inventory.On_Hand"
i need to have a calculated field that will show it in the view to be 32, but it's showing 1280 because it's adding all the rows.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |