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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rk761651
Frequent Visitor

Include more values on X-Axis

I'm creating a dashboard which will show, among other things, scores out of 5 for a maturity test in a simple bar chart. At present, all units are scoring in a 1-3 range. As such, in my dataset the maturity scores do not include any 4s or 5s.

 

I'd like my bar chart to have 4 and 5 labelled permanently from the start (and 1, 2 and 3 to stay there when all units eventually mature). How can I achieve that?

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @rk761651 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

f1.png

 

Score:

f2.png

 

There is a relationship between two tables.

f3.png

 

You may create a measure as below.

Result = 
COALESCE(
    SUM('Table'[Value]),
    0
)

 

Result:

f4.png

 

Best Regards

Allan

 

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

View solution in original post

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @rk761651 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

f1.png

 

Score:

f2.png

 

There is a relationship between two tables.

f3.png

 

You may create a measure as below.

Result = 
COALESCE(
    SUM('Table'[Value]),
    0
)

 

Result:

f4.png

 

Best Regards

Allan

 

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

Anonymous
Not applicable

Hi @rk761651 - The values 4 and 5 are not shown because your data model doesnt recognise these values unless you storing Maturity scores values (1, 2,3,4, 5) in a seperate table?

and connect your actual data table with Maturity score table. This way data model will know values containing 1 to 5 and use this column from Maturity Score values and show items with no data.

NamishB_0-1604688957668.png

 

Hope this helps.

 

Cheers,

-Namish B

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors