Skip to main content
100%

Dummy table serialized as XML binary

✓ Published0🌍 Public
HHugoberry
Last edited Apr 11, 2017
Created on Apr 10, 2017

This example shows a Power Query routine that serializes a two-column table into a single binary XML document. The code transforms each row into a `<row>` element containing `<key>` and `<value>` tags, then wraps all rows in a root `<table>` element. It relies on the `Table.TransformRows` function to iterate over the input table, while `Binary.Combine` and `Text.ToBinary` concatenate the textual XML fragments into a single binary output. The data source is an in-memory table named `dummy`, and the result is a well-formed XML representation of that table.

AI-generated description

Similar vizzes