Forum

1.03 - Month slicer...
 
Notifications
Clear all

1.03 - Month slicer how to sort

5 Posts
2 Users
0 Reactions
73 Views
(@khurramhumayun)
Posts: 3
Active Member
Topic starter
 

Dear Mynda,

Great course. I added a new column to website traffic excel sheet and used Text(date,"mmm") to extract month as Jan, Feb etc. It sorts fine in Excel via custom sort from Jan-Dec but when I create a month slicer in PBI Desktop, it displays months alphabetically. How do I get round this pls.

Thanks

 
Posted : 05/05/2017 1:27 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi Khurram,

in Data section, In the Modeling tab, you can sort the column you want. The best way is to have a Month Name column and a Month Number, and sort column Month Number, this action will also sort the slicer.

 
Posted : 05/05/2017 6:39 am
(@khurramhumayun)
Posts: 3
Active Member
Topic starter
 

Hi Catalin,

When I go to Data section and Modelling tab, the sort by column is greyed out. It only becomes active when i select month number but sorting this way stilll does not sort the month name slicer for me. The Month name slicer still has months appearing in alphabetical order. What am I doing wrong ?. Thanks

 
Posted : 07/05/2017 3:04 am
(@catalinb)
Posts: 1937
Member Admin
 

If the data is sorted after the Month Number, the Month Name slicer will be sorted in the same order.

Can you upload a screenshot to show us what is selected in the Sort By Column list?

 
Posted : 07/05/2017 4:01 am
(@khurramhumayun)
Posts: 3
Active Member
Topic starter
 

Hi Catalin,

Figured it out. I have to select Month Name & then sort by Month Number.

Thanks

Khurram

 
Posted : 07/05/2017 12:48 pm
Share: