Forum Discussion

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Markzolotoy I guess I'm confused. Couldn't you create a procedure to parse the xml and return the table that you want to load into Power BI?

    How are you doing it for SSRS?

    • Markzolotoy's avatar
      Markzolotoy
      Impactful Individual

      In SSRS I am pulling an XML data into report first, then I use CTE in the report to convert it into the tabluar data.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Markzolotoy This sounds like a stored procedure... not SSRS. Either that, or you are doing something I've never done in SSRS before.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Markzolotoy,

     

    I'd like to suggest you enter to query editor, add a custom column and try to use xml.document/xml.table to analysis this xml column, then expand the analysed xml table.

     

    Accessing data functions

    Xml.Document Returns the contents of an XML document as a hierarchical table (list of records).
    Xml.Tables Returns the contents of an XML document as a nested collection of flattened tables.

     

    Regards,

    Xiaoxin Sheng