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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I wrote up few DAX queries to get total stock quantity. First query is this :
The correct total should be 28,692,069.52. Appreciate if someone can help me on this.
Thanks !
Solved! Go to Solution.
Hi @Velvetine27 ,
Create a new measure by using ISINSCOPE() or ISFILTERED() function.
ISINSCOPE function (DAX) - DAX | Microsoft Learn
ISFILTERED function (DAX) - DAX | Microsoft Learn
Measure = IF(ISINSCOPE([Plant]),[TotalRunningQuantity],SUMX(ALLSELECTED(yourtable),[TotalRunningQuantity]))
Hi @Velvetine27 ,
Create a new measure by using ISINSCOPE() or ISFILTERED() function.
ISINSCOPE function (DAX) - DAX | Microsoft Learn
ISFILTERED function (DAX) - DAX | Microsoft Learn
Measure = IF(ISINSCOPE([Plant]),[TotalRunningQuantity],SUMX(ALLSELECTED(yourtable),[TotalRunningQuantity]))
Refer to this link. Maybe it will help you.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |
User | Count |
---|---|
15 | |
14 | |
11 | |
10 | |
9 |