Forum Discussion
nmhung49
Helper II
1 year agoHow to create measure to CALCULATE Qty_In
I’m having trouble with the CALCULATE function for Qty_In, which is incorrect when I select the current year and month. I want the result to display the farm org for the selected month and year, and ...
hnguy71
Super User
1 year agoHi nmhung49 ,
There are times when you apply a filter criteria within your expression you would still receive the cumulative total even though at the line item is correct. To fix this, you would create a new measure to sum on top of that sum. For your example, create a new measure and replace the measure in your visual with this one:
Corrected.InQty = SUMX(dimFarmOrg, [Qty_InV1])