Forum Discussion
Richard_Halsall
2 years agoHelper IV
Expand table using column name and not text value
Hi I have this syntax which works great and allows me to expand all columns from a merge table named 'TechRates' that start with "UK" #"Merged Queries" = Table.NestedJoin(#"Filtered Rows2", {...
- 2 years ago
Hi Richard_Halsall,
Do all rows in the ABC Division column of the base table contain the same text?
If so, try this to get the initial value: BaseTableName{0}[ABC Division] this syntax can also be generated by the UI when drilling down into a cell's value.
DocColumnList = List.Buffer(List.Select(Table.ColumnNames(TechRates), each Text.StartsWith(_ , BaseTableName{0}[ABC Division]) ))I hope this is helpful
m_dekorte
2 years agoResident Rockstar
Hi Richard_Halsall,
Do all rows in the ABC Division column of the base table contain the same text?
If so, try this to get the initial value: BaseTableName{0}[ABC Division] this syntax can also be generated by the UI when drilling down into a cell's value.
DocColumnList = List.Buffer(List.Select(Table.ColumnNames(TechRates), each Text.StartsWith(_ , BaseTableName{0}[ABC Division]) ))
I hope this is helpful
- Richard_Halsall2 years agoHelper IV
Many thanks that worked perfectly