take at least two dimension in pivot,
and in which take one dimension which is made on this
0to30days,30to60days,60to90days,90to120days and >120 days.
now drag and drop this dimension on the top of the expression
then this field show column wise 0-30, 30-60 etc.
then in expression
write if(StockQty =1000, receiptQty)