take a look at my expressions for MinorStops and MinorStops%. I added some aggr()-functions. Secondly I replaced within one of the given aggr() the dimension ActivityDefinitionId with MachineDefinitionId because I assume that you want to aggregate all sum() in one expr. over the same dim.
38347.Forumproblem143.qvw 169.2 K
Thanks for your answer. The trick is to add as many dimensions as needed. That helped. I still wonder why after adding Aggr(expression, Dim1) etc the MinorStop value for MachineDefinitionID OEE_DV_DEVNAME_45 is 0. I think Aggr does not take Negative Values. It worked with Aggr and without Dimensions but with Aggr and Dimension why it is getting the Previous correct value.