Forum Discussion
DAX > M Query - LOOKUPVALUE
I've tried to apply the logic via a Custom Column but am getting a "Token Comma expected" error.
(x) => Table.SelectRows(#"FV-ToDt",
each [Employee ID] = x[[Employee ID]
and [To Date]=x[From Date]
)
Hi Anonymous
(x) => Table.SelectRows(#"FV-ToDt",
each [Employee ID] = x[[Employee ID]
and [To Date]=x[From Date]
)
[[ should be [.
Best Regards
Maggie
- Anonymous6 years agoNot applicable
Still getting an error. This time it's highlighted the end close bracket of the formula
- lbendlin6 years ago
Super User
show the entire line of code
- v-juanli-msft6 years ago
Community Support
Hi Anonymous
To help you slove it, please show the code below from your query.
****** #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", (x)=>Table.SelectRows(Original,each [ID]=x[ID] and [Letter Date]=x[Original Date])), *****Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - v-juanli-msft6 years ago
Community Support
Hi Anonymous
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case and help the other members find it more quickly?
If not, please feel free to let me know.
Best Regards
Maggie