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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MichaelF1
Helper II
Helper II

How to display ALL x-axis values AND order by x-axis value

Hi everyone,

 

I am trying to produce a simple bar chart to show how the number of transactions, "Moves", varies with Time of Day (Hour).

 

I have a measure for 'Number of Moves' which comes from a Transactions table and I have a TimeTable joined with a 1-1 relationship with a time stamp in the Transactions table.

 

I am plotting the measure 'Number of Moves' against 'Hour' (from the TimeTable).

 

If I set the X-axis as categorical, I get the chart I want, but not every bar has its x-axis label:

 

659e03a1-fa61-4ac9-a486-40b97ec7fb19.png

If I change the X-axis to categorical, then I get the x-axis bars labelled but the sort is in the wrong order.

Capture2.PNG

I have read other posts about changing the sort-by column, but the only options I have are from the TableTable.

Capture3.PNG

What I need to do, is to sort by Hour, but when I select this option from the drop-down, there is no change - it still sorts in descending order by y-axis!

 

Thanks for any help or insights, I know this should be simple but I can't figure it out!

 

Thank you

 

Michael  🙂

 

 

 

 

 

 

 

2 ACCEPTED SOLUTIONS
Arul
Super User
Super User

Hi @MichaelF1 ,

 

Did you checked and tried to change your sort axis option in the visual?

 

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

Hi @MichaelF1 ,

Select the visual and click three dot on the visual header you will get that option.

 

Arul_0-1648628591049.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

4 REPLIES 4
Arul
Super User
Super User

Hi @MichaelF1 ,

 

Did you checked and tried to change your sort axis option in the visual?

 

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Yes it worked! Thank you, I didn't realise there was a sort option within the visual.

 

Thank you so much for your help 🙂

 

 

Hi Arul,

 

Thanks for your reply.

 

Where is the 'sort axis' in the visual settings please?

Hi @MichaelF1 ,

Select the visual and click three dot on the visual header you will get that option.

 

Arul_0-1648628591049.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.