Converting a Power BI tabular connection string to Binary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(connectionString as text) => | |
let | |
//Define a semicolon splitter | |
split = Splitter.SplitTextByDelimiter(";"), | |
//Split the connection string by semicaolon and assume that Mashup is the last element | |
mashup = Text.Replace(List.Last(split(connectionString)),"Mashup=","") | |
in | |
//Convert base64 string to binary | |
Binary.FromText(mashup) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment