Forum Discussion
nmhung49
1 year agoHelper II
How 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
1 year agoSuper User
hi nmhung49
Can you share a sample of the expected value / output when you add the farm?
- hnguy711 year agoSuper User
Hi 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])