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

Creating categories for X axis

Hi Community,

 

In one of my reports I wanted to create a visual that shows the amount of days in categories. So 1to 30 days is category 01, 31-60 days is category 02, and so on. I have a solution that works, see the graph below. As you can see it shows the categories.

MennoCremers_1-1690371063817.png

However, to accomplish this I had to create quite an extensive formula for this, as shown below. Does anyone have any ideas for better and faster ways to accomplish this?

 

MennoCremers_0-1690371051143.png

 

Thanks in Advance!

Menno

 

1 ACCEPTED SOLUTION
Syk
Super User
Super User

Click on the column you want to group then in column tools > data groups create a new data grouping.

Syk_0-1690374957415.png


I prefer to work with the list grouping and specify what goes into each group. Hope this helps!

View solution in original post

1 REPLY 1
Syk
Super User
Super User

Click on the column you want to group then in column tools > data groups create a new data grouping.

Syk_0-1690374957415.png


I prefer to work with the list grouping and specify what goes into each group. Hope this helps!

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.