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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
bbulla
Frequent Visitor

How to chart Inspection Data with multiple columns

Hi,

 

I'm trying to create some sort of chart (clustered column chart??) to display the count of defects found during insepctions.  The data looks like this.  Each record is from an inspection of a watermain valve, and each valve could have one or many defects associated to it:

 

bbulla_0-1671111864682.png

 

Each 'defect' is identified through a "True" value.  There are about a dozen or so possible defects.  I've created a clustered column chart before, but only using one field where there were multiple values.  I guess I'm getting confused on what to do with multiple fields and how to correctly count the 'True' values.

 

Thanks for any assistance.

 

2 REPLIES 2
v-yadongf-msft
Community Support
Community Support

Hi @bbulla ,

 

In order to better understanding your demands and give the right solution, could you please tell me what's your expected output?

 

Thanks for your efforts & time in advance.

 

Best regards,

Yadong Fang

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

Hi Yadong,

 

Well I have sort of come up with something.  For each defect I am creating a measure that counts the total number of "True" values for that defect.  So basically I do this for each defect:

 

Valve Spins = CALCULATE(COUNTROWS('Inoperable Valves'),FILTER('Inoperable Valves', 'Inoperable Valves'[VALVE_SPINS]="True")) + 0
 
So that gives me just a number that I can plot using a graph, but the one problem I am now finding is that when I use the Clustered Chart visual they all show up bunched together.  There is no separation, since the chart is vieweing them all as one category.  
 
Is there a way to fix this?  This is what I am getting.  I'd prefer to have my charts on the right look more like the one on the left....with some space between everything.
 
bbulla_0-1671196685634.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.