Forum Discussion

Rygar's avatar
Rygar
Helper II
3 years ago
Solved

Loop through an existing table

Hi all!   I think the following task should be solved with some kind of loop: All three Webadresses are stored in Table and the entire example file is here  The "programming" above works fi...
  • AlienSx's avatar
    3 years ago

    Hello, Rygar put your names and values into table and ⬇️

    let
        Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8snMS0lV0lHKKCkpKLbS1y8vL9dLyk8tKk7VS0nVT8wuyUzN0wcr0g3wcdZ1BAnoe7oaGBgEW0YGm5sZKcXqRCs5ZhYp+GQWlmYSNguoVBeqFGqaWxDQNANDIwMDc2OIabmpJanZBA0Cq4KaERpsYGxoCDTFwMBEKTYWAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, Value = _t]),
        content = Table.TransformColumns(Source, {"Value", each Web.Page(Web.Contents(_)){1}[Data]{0}[Column2]})
    in
        content