Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have a table like below, with sales being the total service income, and machine & machine value are the machine qty and value each customer has. I intend to have the service income selected by the year, and the machine qty and value kept in total regardless of the selection. My expressions for machine qty like following, but when I selected by certain year, the machine qty turns zeor, with actual total should 8 instead. How can I do it? thanks in advance!
Sum({<[Order Type]={'Y470','Y471'}, Order_Group_Text={'machines'}, [Material Number]-={ 'TANK'}>}
Aggr(Order_Item_Quantity,[Order No.],[Item Number]))
Sum(total<year> {<[Order Type]={'Y470','Y471'}, Order_Group_Text={'machines'}, [Material Number]-={ 'TANK'}>} Aggr(Order_Item_Quantity,[Order No.],[Item Number]))
Sum({<[Order Type]={'Y470','Y471'}, Order_Group_Text={'machines'}, [Material Number]-={ 'TANK'},Year = >} Aggr(Order_Item_Quantity,[Order No.],[Item Number]))
You tried this as well.
Sum(total<year> {<[Order Type]={'Y470','Y471'}, Order_Group_Text={'machines'}, [Material Number]-={ 'TANK'}>} Aggr(Order_Item_Quantity,[Order No.],[Item Number]))