Forum Discussion
saad_mce
Helper I
4 years agoDoes calculate work with virtual table/columns
Hi all, I am trying to measure how many products in a factory achieved the production plan in a certain month. Monthly production plan table is divided into daily plans in a different table. For the...
- 4 years ago
Hi saad_mce
To be honest I did not fully read your requirement. Only the part the states the problem with the grand total. I did not understand the need for the virtual table in the "Plan Achievement2" measure Why don't you just use the calculation straight away?Plan Achievement2 := SUM ( 'Actual_Production'[Actual Production] ) / SUM ( 'ZLTP_Prod_Jan22_Daily'[Qty/Day] )For the other measure measure just use
SKUs Achieved 1 New:=SUMX ( VALUES ( New_MSAUDIT[Material] ), [SKUs Achieved 1] )
saad_mce
Helper I
4 years agoHi Anonymous,
Please see sample data, data model and formulas in the below link to the excel file. The dax formulas are in the 'ZLTP_Prod_Jan22_Daily' page in the data model.
Please download the excel file to see the data rather than opening in googlesheet. The pivot table results are in sheet1.
Regards,
Abrar