Forum Discussion
This expression refers to Column object named 'Delivery Updates[Schedule logic]' which has an error
Hi Experts,
I am receiving the subjected error message when i am trying to create a custom column for below condition:
"FY Forecast > 500K". you have to sum all rows for the account, if the sum is >500K then it is key account
ex; (Albertsons RPA record has 300K, Albertsons GenAI/AI has 100K and no other Albertsons records, then it is not key account. Albertsons RPA record has 300K, Albertsons GenAI/AI has 200K then it is key account) . RPA and GenAI is a offertype , if we have same account names but different offertype then we have to sum FY forecast for those same account and mark it as YES or NO.
DAX i created below got an error based on the previous DAX error :
I don't know why it is getting this error message .
Please help to solve this ..
Thanks
DK
6 Replies
- Gabry
Super User
I think it is because you used CALCULATE inside a calculated column, so the previous column in error gets inside your new filter context.
You have to fix Schedule Logic formula.
Or exclude this column from the formula for key account role 2 like adding removefilter('table'[schedule logic])
to your calculateIf you want to read something about context transition https://www.sqlbi.com/articles/understanding-context-transition-in-dax/
- AnonymousNot applicable
- lbendlin
Super User
Filters need to be tables or True/False. You tried to specify a column as a filter.
- lbendlin
Super User
You first need to correct the [Schedule Logic] column.