Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have an almost entirely text based dataset. I need to show some kind of visualisation of where the data has changed between two different dates. I can create the data model in pretty much any way that's suitable. My question is: are there any recommended visualisation tools which would help display the data as simply as possible?
For example, if I had data that looked like this:
ProductName | Date | Categories1 | Categories2 | Colour | Europe | Asia |
Widget1 | Jan-22 | ABC, DEF, GHI | XYZ100, PQR200 | red, orange | XX | YY |
Widget1 | Jan-23 | ABC, DEF, GHI | LMN300 | red, green | XX | ZZ |
Widget2 | Jan-22 | DEF, GHI | LMN200 | green | XX | YY |
Widget2 | Jan-23 | ABC, DEF, GHI | LMN200 | green | ZZ | YY |
The easiest option for the user would be to see the data transposed, with perhaps two rows (now columns) of data at a time that you can "page" through, with highlighted values where there are differences, so:
First set:
ProductName | Widget1 | Widget1 |
Date | Jan-22 | Jan-23 |
Categories1 | ABC, DEF, GHI | ABC, DEF, GHI |
Categories2 | XYZ100, PQR200 | LMN300 |
Colour | red, orange | red, green |
Europe | XX | XX |
Asia | YY | ZZ |
Africa | ZZ | ZZ |
Second set:
ProductName | Widget2 | Widget2 |
Date | Jan-22 | Jan-23 |
Categories1 | DEF, GHI | ABC, DEF, GHI |
Categories2 | LMN200 | LMN200 |
Colour | green | green |
Europe | XX | ZZ |
Asia | YY | YY |
Africa | ZZ | XX |
Transposing the data table in Power Query doesn't really give a suitable dataset.
I realise this isn't a natural use case for Power BI as it doesn't involve any summarisation.
Many thanks for any suggestions.
Yes to the transpose (unpivot) but you would need to keep Product and Date static.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCs9MSU8tMVTSUfJKzNM1MgIyHJ2cdRRcXN10FNw9PIH8iMgoQwMDHYWAwCAjAwOgQFFqio5CflFiXnoqSDoCSERGKsXqYJhmjMU0H18/Y4Qp6UWpqXkwQ6KikAwxQnYSqn6IK1C0othvRMB+VP1AWyH6YwE=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [ProductName = _t, Date = _t, Categories1 = _t, Categories2 = _t, Colour = _t, Europe = _t, Asia = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"ProductName", type text}, {"Date", type date}, {"Categories1", type text}, {"Categories2", type text}, {"Colour", type text}, {"Europe", type text}, {"Asia", type text}}),
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"ProductName", "Date"}, "Attribute", "Value")
in
#"Unpivoted Other Columns"
You likely have more than two snapshots in your data so the actual comparison would have to be done in DAX.
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
90 | |
84 | |
70 | |
49 |
User | Count |
---|---|
141 | |
121 | |
112 | |
59 | |
58 |