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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

remove x-axis values histogram

Hi on my histogram below i would like to erase Age... and (vide) on the x-axis. My version of pbix is January 2023.

 

Thanks

florian245_0-1687853684849.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Could you please provide the related Fields setting of your histogram visual? Which field or measure be applied on Y-axis? You can create a measure or update the formula of measure which applied on Y-axis as below:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[X-axis field] ) IN { "Age...", "(vide) " },
    BLANK (),
    [Y-axis field/measure]
)

vyiruanmsft_0-1688008270433.png

If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks a lot, but actually i've found how to do, I only had to go in the filter section and untick those I didn't want on my histogram.

Anonymous
Not applicable

Hi @Anonymous ,

Could you please provide the related Fields setting of your histogram visual? Which field or measure be applied on Y-axis? You can create a measure or update the formula of measure which applied on Y-axis as below:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[X-axis field] ) IN { "Age...", "(vide) " },
    BLANK (),
    [Y-axis field/measure]
)

vyiruanmsft_0-1688008270433.png

If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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