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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
melissa_dor
New Member

How to change scale type of X-Axis

Hi,

 

When I try to format the X-Axis, the only Scale-Type available is "Linear".

How to I get the "Categorical" Scale-Type?

This is on a Stacked Bar Chart.

 

Thank you and kind regards,

 

Melissa

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @melissa_dor,

When you create a stacked bar chart in Power BI Desktop, you have the chance to change type of Y-Axis rather than X-Axis to “Categorical” as long as you put numeric or Date/Time data type field to axis. There is an example for your reference. However, if you put text data type field to axis of stacked bar chart, the Type format option that contains Categorical and  Continuous will not show up.
1.PNG

In addition, when you create a stacked column chart in Power BI Desktop, you can change type of X-Axis to “Categorical” as long as you put numeric or Date/Time data type field to axis. Similarly , the Type format option that contains Categorical and  Continuous will not show up  when you put text data type field to axis of stacked column chart. Here is an example for your reference.
2.PNG

 

Thanks,
Lydia Zhang

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @melissa_dor,

When you create a stacked bar chart in Power BI Desktop, you have the chance to change type of Y-Axis rather than X-Axis to “Categorical” as long as you put numeric or Date/Time data type field to axis. There is an example for your reference. However, if you put text data type field to axis of stacked bar chart, the Type format option that contains Categorical and  Continuous will not show up.
1.PNG

In addition, when you create a stacked column chart in Power BI Desktop, you can change type of X-Axis to “Categorical” as long as you put numeric or Date/Time data type field to axis. Similarly , the Type format option that contains Categorical and  Continuous will not show up  when you put text data type field to axis of stacked column chart. Here is an example for your reference.
2.PNG

 

Thanks,
Lydia Zhang

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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