Forum Discussion
Kmptrgeek
3 years agoFrequent Visitor
% Grand Total using barcode scanner
I have a report that is working great with the barcode scanner...but my calculation for % Grand Total doesn't work when the product is scanned, only when it is selected from a table or other visual o...
- 3 years ago
I think I have solved my issue. In the DAX I've written I am filtering by all selected customers and all products. When I modified my DAX to be the following it looks like the calculations are working with the scanner.
% Grand Total of Volume = DIVIDE(SUM(SUB_SETTLED_SALES[VV998_Q_PHYSICAL_CASES]) ,(CALCULATE(SUM(SUB_SETTLED_SALES[VV998_Q_PHYSICAL_CASES]), ALL()) ))Now I just have to figure out why my RANKX code isn't working with the scanner. ๐
Kmptrgeek
3 years agoFrequent Visitor
I think I have solved my issue. In the DAX I've written I am filtering by all selected customers and all products. When I modified my DAX to be the following it looks like the calculations are working with the scanner.
% Grand Total of Volume = DIVIDE(SUM(SUB_SETTLED_SALES[VV998_Q_PHYSICAL_CASES]) ,
(CALCULATE(SUM(SUB_SETTLED_SALES[VV998_Q_PHYSICAL_CASES]), ALL()) ))
Now I just have to figure out why my RANKX code isn't working with the scanner. ๐