Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
joc
Helper I
Helper I

Lines with quarters in the good order

Hello everybody,

 

I need your help again.

I have this data :

DATA2.jpg

And I have this graph :

 

TAB2.jpg

 

But, the quarter "Q4 2015" is not at the good position. I would like to move this line before "Q1 2016". I dont know how to do that. I specify that I display the last 5 quarters, and I can have the sames problems with new quarters. 

 

Thank you in advance for your help,

Joc

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@joc

 

In this scenario, your TRIM column is "Quarter + Year" text. It will sort based on characters. If you want to have it sort by Year, you need to have a year column and change it to "Whole Number" type.

 

Year = RIGHT(Table1[TRIM])

5.PNG

 

Then change "Sort by Column" into Year column for TRIM column.

 

44.PNG

 

Regards, 

View solution in original post

2 REPLIES 2
v-sihou-msft
Employee
Employee

@joc

 

In this scenario, your TRIM column is "Quarter + Year" text. It will sort based on characters. If you want to have it sort by Year, you need to have a year column and change it to "Whole Number" type.

 

Year = RIGHT(Table1[TRIM])

5.PNG

 

Then change "Sort by Column" into Year column for TRIM column.

 

44.PNG

 

Regards, 

@joc Same response I added to this question you had about axis.

http://community.powerbi.com/t5/Desktop/Exchange-the-legend-and-the-abscissa-axis/m-p/173137#M75616

 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.