Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Powershell Code:.
$type ="P"
$version="1"
$marker="DP"
$path="piserver\test:sinusoid.pv"
$enc = [system.Text.Encoding]::UTF8
$data = $enc.GetBytes($path.ToUpperInvariant())
$result=[System.Convert]::ToBase64String($data)
$result=$result.trimend("=").replace("+", "-").replace("/", "_")
$webid=$type+$version+$marker+$result
$webid
Stuck at the getbytes part.
Solved! Go to Solution.
= List.Transform(Text.ToList("YXGXWFEDGF"),Character.ToNumber)
= List.Transform(Text.ToList("YXGXWFEDGF"),Character.ToNumber)