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
KathyO
Frequent Visitor

How to make a graph with "Quality" on the 'y' axis?

We do a fortnightly-ish quality audit, where the results look like this:

KathyO_0-1700447444439.png

Ideally I'm trying to get to either:

- a clustered column chart with date on the x-axis and Excellent/Average/Poor on the y-axis, which shows the result for each audited factor on  the date OR

- a line graph, again with date on the x-axis and quality rating on the y-axis, with lines representing each audited factor.

 

Usually I search, and this Forum has the answers, but this one actually has me stumped.  Is it even possible?

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @KathyO 
Since value axes in charts are designed for numerical aggregations, their value cannot be a string, but only a number. However, given that the scores in your script are fixed, you can explore a workaround to achieve the desired result.

In the first step, you should unpivot your table with PQ:

Ritaf1983_0-1700453052198.png

Then you'll get a vertical table :

Ritaf1983_1-1700453162134.png

The second step is to give the numeric score for the quality:

Ritaf1983_2-1700453317550.png

Result:

Ritaf1983_3-1700453380731.png

The third step is to create the desired graph with the needed score:

Ritaf1983_4-1700453538907.png

After this lock the limits of the axis according to the score:

Ritaf1983_5-1700453625314.png

switch off the title of the axis

 

Ritaf1983_6-1700453694764.png

create text boxes with the quality in words + put them on the y-axis values

Ritaf1983_7-1700454087250.png

the last step is to group all these construction

Ritaf1983_8-1700454152938.png

**To make the text boxes look better, you need to align them and shrink their borders as much as possible.

Ritaf1983_9-1700454341532.png

Pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
KathyO
Frequent Visitor

Thank you so much, that is absolutely perfect!

Happy to help 😊

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @KathyO 
Since value axes in charts are designed for numerical aggregations, their value cannot be a string, but only a number. However, given that the scores in your script are fixed, you can explore a workaround to achieve the desired result.

In the first step, you should unpivot your table with PQ:

Ritaf1983_0-1700453052198.png

Then you'll get a vertical table :

Ritaf1983_1-1700453162134.png

The second step is to give the numeric score for the quality:

Ritaf1983_2-1700453317550.png

Result:

Ritaf1983_3-1700453380731.png

The third step is to create the desired graph with the needed score:

Ritaf1983_4-1700453538907.png

After this lock the limits of the axis according to the score:

Ritaf1983_5-1700453625314.png

switch off the title of the axis

 

Ritaf1983_6-1700453694764.png

create text boxes with the quality in words + put them on the y-axis values

Ritaf1983_7-1700454087250.png

the last step is to group all these construction

Ritaf1983_8-1700454152938.png

**To make the text boxes look better, you need to align them and shrink their borders as much as possible.

Ritaf1983_9-1700454341532.png

Pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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.