
I need to create matrix table like above,
Here i need to show top n products shipped units on that shipped product how many products returned
so for this i created a rank measure like this Rank Product code By Shipped & Customer return = RANKX(ALL(Dim_Product[Product code]),'_Sales'[Shipped ],, DESC,Dense)
Here i am restricting filter only in product code , i can't able to restrict in month level at that time it is showing error and both are coming from different tables
HJow i can perform this
Thanks
Allen