Forum Discussion

Stephan80's avatar
Stephan80
New Member
4 years ago
Solved

Power query columns containing text data and tables

Good day I am new to you forum and would greatly appreciate your help. I have a xml. dataset but one of my columns contains tables as well as other text data. If I try to expand the tables, I get ...
  • KNP's avatar
    4 years ago

    Add a new step.

    Paste this and alter this to suit your needs.

    = Table.TransformColumns(YourPreviousStep, {{"DischargePortATA", each if Value.Is(_, type table) then _ else #table({"DischargePortATA"}, {{_}}) }})