cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cham Member
Member

undefined

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: undefined

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)

15.png

After these steps, you can use index and originale table fields to create table visual to achieve your requirement.

14.png

Notice: don't forget to modify aggregation mode of index to 'don't summarize'.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: undefined

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)

15.png

After these steps, you can use index and originale table fields to create table visual to achieve your requirement.

14.png

Notice: don't forget to modify aggregation mode of index to 'don't summarize'.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)