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
muehtob
Frequent Visitor

Time Axis Sorting Start at different time

Hello ,

 

for Shift analysis i need to display a whole day Strating at 22:00 the day before and ends at 21:59 the same day with Power BI.

My problem is , that if i use a Time Datatype for the Axis i can't sort anymore.

 PowerBi_1.PNGPowerBi_2.PNG

And if i use the time as text i can sort but bars are to broad , and i have to scroll to see the whole day.

I need kind of a combination of the two.

Can anyone suggest any solution ?

 

best regards

Tobi

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @muehtob,

 

 

I'd like to suggest you to add column to store custom sort order, then use this column as sort by column of time column.

Sort by column in Power BI Desktop

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hey @v-shex-msft as you can see in the first picture , if i select the Time [time datatype] as the axis the option for sort by disappears. I already added another column for sorting but i can only select it if i choose the time [as a string] for the axis (second picture).  And if i choose that option the graph is to "long" and not compressable (auto group as it is possibe if you select time [time datatype] as an axis)

 

i know it sounds a little bit confusing but i hope someone can understand my problem and help

 

Regards,

Tobi

Hi @muehtob,

 

Nope. I test with some methods but can't modify sort order of chart axis label, maybe you can try to submit an idea for this requirement.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help 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.