Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have my data set as below,
Date State Count
19/Sep/2019 SYD 34
19/Sep/2019 MEL 454
19/Sep/2019 SYD 56
19/Sep/2019 MEL 24
19/Sep/2019 SYD 45
i WANT TO SHOW MY DATA SET AS BELOW, Can anyone show me how to do that?
Date State Count
19/Sep/2019 SYD 34
SYD 45
SYD 56
MEL 24
MEL 454
Solved! Go to Solution.
Hi @cham ,
Current power bi visuals not allow you to setting multiple sort order fields, you can consider to sort them on query table side and add index column.
#"Sorted Rows" = Table.Sort(#"Changed Type",{{"Date", Order.Ascending}, {"State", Order.Descending}, {"Count", Order.Ascending}}),
#"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 1, 1)
After these steps, you can use index and originale table fields to create table visual to achieve your requirement.
Notice: don't forget to modify aggregation mode of index to 'don't summarize'.
Regards,
Xiaoxin Sheng
Hi @cham ,
Current power bi visuals not allow you to setting multiple sort order fields, you can consider to sort them on query table side and add index column.
#"Sorted Rows" = Table.Sort(#"Changed Type",{{"Date", Order.Ascending}, {"State", Order.Descending}, {"Count", Order.Ascending}}),
#"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 1, 1)
After these steps, you can use index and originale table fields to create table visual to achieve your requirement.
Notice: don't forget to modify aggregation mode of index to 'don't summarize'.
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |