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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Shahinkmajeed
Helper I
Helper I

X axis in chart to start from a fixed number in categorical type.

Dear All,

 

I am comparatively new to Power BI, Kindly help me to find a solution for my requirement stated below.

 

In the below chart, I want the X axis to start from 21 down till 0, irrespective of the data value in the table, for the selected slicer variable.  In the below sample chart it is starting with 16, as the data in table has values starting from 16. Kindly help.

 

image.png

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Shahinkmajeed,

 

Use GENERATESERIES Function to create a new table and add an appropriate measure.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Shahinkmajeed,

 

Use GENERATESERIES Function to create a new table and add an appropriate measure.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Sam,

 

I will try and update.

 

 

Shahinkmajeed
Helper I
Helper I

Dear All,

 

I am still waiting for a response. Kindly help. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors