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

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
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.