Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have such data
I want it to be like this in power bi so that i can use flow map and use count as width
how can i do it help me
Solved! Go to Solution.
Hi @Anonymous ,
Use group by feature in Power Query Editor:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WKk4t0DUyUtJRyi7NS8nJBDJK8/IS85VidUaiXGJGbmpKYlJiyqg8Vvns/JzsxJJEymRjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Month = _t, #"veh location" = _t, #"income location" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Month", type date}, {"veh location", type text}, {"income location", type text}}),
#"Grouped Rows" = Table.Group(#"Changed Type", {"Month", "veh location", "income location"}, {{"Count", each Table.RowCount(_), Int64.Type}})
in
#"Grouped Rows"
Best Regards,
Jay
Hi @Anonymous ,
Use group by feature in Power Query Editor:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WKk4t0DUyUtJRyi7NS8nJBDJK8/IS85VidUaiXGJGbmpKYlJiyqg8Vvns/JzsxJJEymRjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Month = _t, #"veh location" = _t, #"income location" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Month", type date}, {"veh location", type text}, {"income location", type text}}),
#"Grouped Rows" = Table.Group(#"Changed Type", {"Month", "veh location", "income location"}, {{"Count", each Table.RowCount(_), Int64.Type}})
in
#"Grouped Rows"
Best Regards,
Jay
@Anonymous In Power BI you can use the Matrix visual to get the desired output.
yes. but I want to use that as a table in the flow map ( Visual Addin) to show A to B traveeling frequency. using matrix can i do that?
YourMeasure = COUNT('Table'[Income Location])
User | Count |
---|---|
85 | |
80 | |
76 | |
49 | |
41 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |