Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
What does the below step on the Advanced Editor do?
Filtered = #"Filtered Rows"{0}[Content]
Solved! Go to Solution.
Returns the first field value (Power query has 0 based index) after filtering.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUcrPS1WK1YGwS8rzEeyMolSIjBGQl5ZfWgTmGIM4mWWpCkqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Int64.Type}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([Column1] = 1)),
Custom1 = #"Filtered Rows"{0}[Column2]
in
Custom1
Returns the first field value (Power query has 0 based index) after filtering.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUcrPS1WK1YGwS8rzEeyMolSIjBGQl5ZfWgTmGIM4mWWpCkqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Int64.Type}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([Column1] = 1)),
Custom1 = #"Filtered Rows"{0}[Column2]
in
Custom1
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 6 | |
| 5 | |
| 5 |