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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AlastairC
New Member

Formatting Data on x-axis

Hi all,

 

How do I get rid of data points on an x-axis?  I want to include the 'Q1 2024' data, which is '0', but I want to get rid of the three columns to the right. Easy to do in excel, but I can't figure out how this would be done in Power BI...

 

AlastairC_0-1714043504868.png

 

Thanks for any help.

 

AC

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AlastairC ,

I create a table as you mentioned.

vyilongmsft_0-1714100450095.png

Then I put it into Stacked column chart.

vyilongmsft_1-1714100537274.png

I think you can unselect 2024 Q2,2024 Q3,2024 Q4 in the Filters named Quarter.

vyilongmsft_2-1714101004663.png

Finally you will get what you want.

vyilongmsft_3-1714101054179.png

 

 

 

Best Regards

Yilong Zhou

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

4 REPLIES 4
Anonymous
Not applicable

Hi @AlastairC ,

I create a table as you mentioned.

vyilongmsft_0-1714100450095.png

Then I put it into Stacked column chart.

vyilongmsft_1-1714100537274.png

I think you can unselect 2024 Q2,2024 Q3,2024 Q4 in the Filters named Quarter.

vyilongmsft_2-1714101004663.png

Finally you will get what you want.

vyilongmsft_3-1714101054179.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Perfect! As I suspected, the actual underlying table needs to be reformatted...

 

Thank you. 

Uzi2019
Super User
Super User

Hi @AlastairC 
Just simply filter out the values which are blank().

Go to filter > select  month> then filter out blank values().

 

Uzi2019_1-1714044469851.png

 

I hope Q1 2024 has 0 values in it.

 

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Thanks for replying 

 

Unfortunately, the is no 0 data, it is just a blank.. So, filtering blanks would also filter Q1 2024.

 

If there were any data in the columns, I know I can simply 'remove' columns. But, is there no way to remove empty columns. And the filters are set up by Year then Quarter, so I cannot see a way to filter 2024 Qs 2,3, and 4...

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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