i have following table in Kusto language:
let my_data = datatable(Environment: string, Service:string, Url:string, Release: string)
[
"dev", "Service1", "Url1", "Release1",
"uat", "Service1", "Url2", "Release2",
"dev", "Service2", "Url3", "Release3",
"uat", "Service2", "Url4", "Release4",
"dev", "Service3", "Url5", "Release5",
"uat", "Service3", "Url6", "Release6",
];
And would like transform it to:
let transformed = datatable(Service: string, dev_url: string, dev_release: string, uat_url: string, uat_release: string)
[
"Service1", "Url1", "Release1", "Url2", "Release2",
"Service2", "Url3", "Release3", "Url4", "Release4",
"Service3", "Url5", "Release5", "Url6", "Release6"
];
But by any chance i can't figure it out. Does anyone can help? :)
You can use
join
with filtersUPDATE I found the way to do it with dynamic
Environment