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
Anonymous
Not applicable

Re-order Axis values and Line graph Issue

1. I am having trouble putting this data into a line graph. I want the X axis to be my dates and the Y to be the values. My data is set up as shown below in the photo. I am hoping to not have to change the way my data is ordered.  

Values are under the dateValues are under the datedata is set up this way. Need date on X axisdata is set up this way. Need date on X axis

2. I need to order my data values to go in a different order. How can I do this?

 

 

,Need to re-orderNeed to re-order

I really appreciate any help.data to re-order is set up this waydata to re-order is set up this way

1 REPLY 1
dax
Community Support
Community Support

Hi alwayslearning1,

Is your sample similar to below(if your sample is not like below, please correct me and inform me your sample data)

id 2019/5/1 2019/6/1 2019/7/30
current 1 2 5
30days 6 5 1
60 days 5 9 6
120 days 3 10 5
150 days 1 2 2
over 150 days 2 3 5

You could try to create a costom column like below, then sort id column based on custom column

296.PNG297.PNG 

Then when you add this in chart, it will show like below

298.PNG

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.