Forum Discussion

peterpan's avatar
peterpan
Helper I
2 years ago
Solved

ALL function seems not working with Additional Filter Context

I am using following function to arrive at Rep wise Ranks-

 

SalesRank1 = RANKX(ALL('P6-OfficeSupplies'[Rep]), [SalesAfterDiscount_M], , DESC)

 

 

This gives me following correct visual-

However, when I add a Region Column which comes from the same Base Table, it seems to break-

 

I don't understand why the result changes when I have ALL is applied which as per my understanding means that it will compute the Rank as per Reps irrespective of any filter context. Please help.

2 Replies