Forum Discussion
Conditional copy values into table / Table relations
- 4 years ago
Hi rogerk ,
I create the following sample data.
Then add custom column in Table 2:
CustomColumn = let myfunction = (CurrentProject) => let SelectRows = Table.SelectRows(Table, each [Project] = CurrentProject) in SelectRows, Date = myfunction([Project]){[Report Number]-1}[Report Date] in DateIf the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi rogerk ,
I create the following sample data.
Then add custom column in Table 2:
CustomColumn =
let
myfunction = (CurrentProject) =>
let
SelectRows = Table.SelectRows(Table, each [Project] = CurrentProject)
in
SelectRows,
Date = myfunction([Project]){[Report Number]-1}[Report Date]
in
Date
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, this works perfectly.