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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
wilfredtsk
Helper I
Helper I

Displaying data label (x-axis) for a clustered column chart when there is zero value

Hi experts,

 

I am trying to "display" the data label of my graph where there is no data...

[reference to my graph, I have a subject-science of which no one achieve a quality pass (after my measure)]

 

no_value.jpg

How do I still keep that label on?

 

Thank you for your attention!

 

Cheers,

wilfredtsk

1 ACCEPTED SOLUTION

@wilfredtsk,

Do you have the "Fdn Science" value in your table?  Does you measure return blank value for the "Fdn Science" category? If so, create a new measure using DAX below, drag this new measure to the column chart and turn on data label.

NewMeasure= if(isblank([Measure]),0,[Measure])



Regards,

Lydia

Community Support Team _ Lydia Zhang
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

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@wilfredtsk,

I am not quite sure what is your expected result. How about you turn on data label.

1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Lydia,

 

Thank you for replying as always.

Here's my expected results..., i.e. showing that "Fdn Science"....

 

Windows_10.jpg

 

Warm Regards,

Wilfred

@wilfredtsk,

Do you have the "Fdn Science" value in your table?  Does you measure return blank value for the "Fdn Science" category? If so, create a new measure using DAX below, drag this new measure to the column chart and turn on data label.

NewMeasure= if(isblank([Measure]),0,[Measure])



Regards,

Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

 

Hi Lydia,

Wow! You are always awesome. Yes! It works. Thank you so much!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.