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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.