Forum Discussion
mmanwaring
4 years agoResolver I
Filter context breaking my calculation
Hi All, Hope someone can shed some light on my problem. I have a stock movement calculation which is pivoted by col = sku and row= year. The problem is that the table has to be filtered to the cor...
amitchandak
4 years agoSuper User
mmanwaring , Try like
CALCULATE(SUM(MovementsInOut[TrueQuantity]), FILTER( MovementsInOut , movementsInOut[movementtype] IN {100,392,227,235,225}), filter(all(DimDates) ,DimDates[Date] <= MaxDate ))
mmanwaring
4 years agoResolver I
Hi, Thank you for your reply.
It does however not change the results.
Mike
- amitchandak4 years agoSuper User
mmanwaring ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.- mmanwaring4 years agoResolver I
Hi amitchandak
----
Thank you Mike- amitchandak4 years agoSuper User
mmanwaring , No access, applied for it