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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

bar chart gridlines control

Hi,

I have a date table with several columns, two of them are day-name and day-number-in-week.

How can I create a sort of progress bar for the week, for eah passing day?

 

I tried a clustered bar chart, but only managed this (in the example I filtered Thursday, the 4th day of the week):

status4.PNG

I want the X axis to run from Monday - Sunday, but I'll settle for 1 - 7 based on the day number.

Problem is I can't really control the gridlines - make the X axis show all numbers from 1-7, or for that matter even show 1 and 7. If I play with the visual size it shows all the values, but I want it to always show and not just when the visual is extra large.

X-axis format as follows:

status5.PNGstatus6.PNG

I cannot add the days name or number to the axis section as it puts them on Y-axis, and the value I added is the day number.

 

any ideas how to make it look something like one of these options:

status7.PNG

 

thank you!

4 REPLIES 4
parry2k
Super User
Super User

@Anonymous try changing x-axis type to Categorical 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Hi,

thanks but since there is no actual X axis value, I cannot change it.

The X axis are set values from 0 to 7:

statu8.PNGstatus9.PNG

 

Whenever I add a category to the axis in thie visual it puts it on Y axis.


 

@Anonymous you can move Day to x-axis. Since it is a number field, when you drop it on the visual, it automatically put it in value section.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

If I put anything in the axis section, it puts it into the Y axis (bar chart).

This is completely different from what I aim for:

stat1.PNG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.