Forum Discussion

stefanycheck's avatar
stefanycheck
Frequent Visitor
8 years ago

Split a Column into rows

Hi!

I imported a xml document and it should look like this:

 

But after importing and expanding everything it got likethe image below. So I wanted to know if there's a way to split this column to make it look like the table above! I appreciate the help!

3 Replies

  • stefanycheck's avatar
    stefanycheck
    Frequent Visitor

    To explain it better, the whole table is in one column. So I wanted to be able to split the column so it would look like a table. For example, the table has columns like Address, Date and Price. But in the columns the names of the columns and the data are all listed in one column only. So i want to split this column in every x rows, for example.

    • v-yuta-msft's avatar
      v-yuta-msft
      Community Support

      Hi stefanycheck ,

       

      Could you transform your xml file to json file in some ways? If you can , you can import the json file with is easier for power bi to recognize.

       

      In addtion, if you can't transform your file, I would recommend you to use R script to modify your table.

       

      Regards,

      Jimmy Tao