cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chris-VA
Regular Visitor

Change dates in Bar Graph

Within my organization, we have pay periods that start at 20, go to 26 and then start at 1 to 19 to end the year.  When creating a bar graph it normally will start at 1 and then go to 26.  I am trying to find out how to have it start at pp 20 then go to 26 and then 1 through 19.  Any ideas on how to change this to reflect in graphs?

 

Here is an example of what I see:

 

ChrisVA_0-1660240587560.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

try this - add another column with the right order

 

20 =1

21 =2

22 =3

...

26 = 5

1 = 6

2 = 7

 

etc.

 

Then use the "Sort a column by another column" feature.

View solution in original post

2 REPLIES 2
Chris-VA
Regular Visitor

Perfect, appreciate the help.

 

lbendlin
Super User
Super User

try this - add another column with the right order

 

20 =1

21 =2

22 =3

...

26 = 5

1 = 6

2 = 7

 

etc.

 

Then use the "Sort a column by another column" feature.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.