Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!