Forum Discussion
monojchakrab
3 years agoResolver III
List.Accumulate returning wrong value
Hiya all, I am working with a table as below : The task is as follows : 1. Extract the month name using List.Accumulate as below : Table.AddColumn(ExtractAccountName, "Month Name", ...
- 3 years ago
in 4th row, right there is a "mar" in Jiomart
- 3 years ago
Table.AddColumn(ExtractAccountName, "Month Name", each List.Select(MonthNames,(x)=> Text.Contains([Name],"_"&x,Comparer.OrdinalIgnoreCase)){0}?)sorry for my carelessness.
monojchakrab
3 years agoResolver III
Now the error message is as below :
Because probably the "text.contains", in this case will return a true, right?
Thanks for being in my corner. really appreciate.
wdx223_Daniel
3 years agoCommunity Champion
Table.AddColumn(ExtractAccountName, "Month Name", each List.Select(MonthNames,(x)=>
Text.Contains([Name],"_"&x,Comparer.OrdinalIgnoreCase)){0}?)
sorry for my carelessness.
- monojchakrab3 years agoResolver III
That worked !! wdx223_Daniel . Thanks a ton.