Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Community,
I was trying to sort the kindle notes by booktitle. My notes look like:
or in table like:
booktitle1 |
AA |
booktitle2 |
BB |
CC |
booktitle1 |
DD |
booktitle1 |
EE |
booktitle2 |
FF |
I need to sort them by booktitle to a table like:
booktitle1 |
AA DD FF |
booktitle2 |
BB CC EE |
The tricky part is sometimes a note has multiple rows, like the BB CC note.
Simple enough
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSsrPzy7JLMlJNVSK1YlWcnQEU3BRIzDXyQlMOTujSkK0uLhgE3V1xWaQm5tSbCwA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Note = _t]),
Grouped1 = Table.Group(Source, "Note", {"grp", Table.Skip}, 0, (x,y) => Byte.From(Text.Contains(y, "title", Comparer.OrdinalIgnoreCase))),
#"Sorted Rows" = Table.Sort(Grouped1,{{"Note", Order.Ascending}}),
Grouped2 = Table.Group(#"Sorted Rows", "Note", {"aggr", each Table.Combine([grp])[Note]}, 1),
#"Combined Columns" = Table.CombineColumns(Grouped2, Table.ColumnNames(Grouped2), each {_{0}} & _{1}, "Notes"),
#"Expanded Notes" = Table.ExpandListColumn(#"Combined Columns", "Notes")
in
#"Expanded Notes"
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
6 | |
6 | |
5 | |
5 |
User | Count |
---|---|
9 | |
9 | |
8 | |
6 | |
6 |