Forum Discussion
Need Explanation
- 7 years ago
hi, Anonymous
It is Row Context and Filter Context in DAX,
filter is matching to the current row context.
Best Regards,
Lin
Thanks a lot for solution but i have below question, please clarify me?
1. My assumption is once we have relation between tables and apply the filter, it will apply to whole model right, if yes ,then why my filter WeekNum from any table not filtering another weeknum in different table. Please explain me if i am missing something.
2. If you see my below formula(1) .For the variables Last12Weeks, Last12Weeks2 i am not assigning to any column so i don't understand how its still working.
1.
CALCULATE ( [Sales], Last12Weeks,Last12Weeks2 )
2. normal way of filtering:
CALCULATE ( [Sales],
CALCULATE ( [Sales],FactValue[WeekNum] =201801)
hi, Anonymous
It is Row Context and Filter Context in DAX,
filter is matching to the current row context.
Best Regards,
Lin