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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ZazC
New Member

Need help to create a chart that displays up to 4 different values in Y axisfor each value in X axis

Hi, I would like to have your suggestions on a chart that can visually help. I have 101 geographical values and in each I would like to have one single column/bar representing existing services (church, library, hospital, school). I want the bar/column only shows up different colors for each of the services existing, and no color if they dont. I have a table with four columns stating yes/no/unknown.

I have tried the ribbon chart with small multiples and the stacked column chart. The problem I face is that I do not know how to make in the Y axis to show only when "yes" so I am having a very random chart.

Many thanks for any suggestion.

6 REPLIES 6
suparnababu8
Super User
Super User

Hi @ZazC 

 

You can use stacked bar chart where each segment represents a different service. Apply conditional formatting to color the segments based on the yes value. You can set the color to be transparent or a neutral color for no or unknown. 

Please share some sample data with what's your expected output in the form of sample visual. So, It will be helpful to us  for easy understanding of your issue.

 

Thanks!

Screenshot 2025-01-25 at 08.43.39.pngScreenshot 2025-01-25 at 08.47.14.png

Thank you for your response. So I have an excel with yes/no in four columns and 101 rows. Then I have a chart that automatically populates the columns, but not according to yes/no. Many thanks!

Fowmy
Super User
Super User

@ZazC 

Can you share some sample data with the desired output as sketch or example to have a clear understanding of your question?
You can either paste your data in the reply box or save it in OneDrive, Google Drive, or any other cloud-sharing platform and share the link here.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thank you for your response. It has taken me a while to upload the picts. Screenshot 2025-01-25 at 08.43.39.pngScreenshot 2025-01-25 at 08.47.14.pngSo I have an excel with yes/no in four columns and 101 rows. Then I have a chart that automatically populates the columns, but not according to yes/no. Many thanks!

A workable sample data (not an image) please. Link to an Excel file or a sanitized copy of your pbix stored in the cloud.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors