Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Experts,
I just need on hand Quantity on the below table as i am new to Power Bi can someone give me suitable DAX code to achieve this quatity.Thanks in Advance as you experts resolve my other issue only here i am stuck from a week.
Table name is = PowerBIInventonhanditem and field name is AvailPhysical
Best Regards,
Shabir Ahmad
Hi @shabirAhmad ,
To calculate the total on-hand quantity for the field in the table, you can create a DAX measure:
Total On Hand Quantity = SUM(PowerBIInventonhanditem[AvailPhysical])
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi to all,
What is the issue, this field is coming from dynamics ERP so there is it was shown on the form a calculated column such as "Measure" in DAX.
Hi @shabirAhmad ,
I don't have access to your pbix file. Has your problem been solved? If the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out. Thanks in advance.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
Thanks for your kind reply, still not resolved.
Best Regards,
Shabir Ahmad
Hi All,
This is the code in Dynamics ERP system to display the onhand quantity
return this.PostedQty + this.Received - this.Deducted + this.Registered - this.Picked;
In DAX i applied the below formula in Measure
Best Regards,
Shabir Ahmad
Hi Shabir,
You can try this DAX : On Hands Quantity =VALUES('PowerBIInventonhanditem'[AvailPhysical]).
If this is what you were looking for, please provide a Kudo and Accept this as a solution for better reach to other people.
Hi @rrm121812
I did
Can you share pbix file?
How can i share here is not option of file attached.
Best Regards,
Shabir Ahmad
You can upload the file on google drive and share the link
Hi @rrm121812
please check the link of my report.
https://drive.google.com/file/d/1y0o0frLiJLa36aDXPwhhPaN0pkdEVGiF/view?usp=drive_link
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.