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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
joshua1990
Post Prodigy
Post Prodigy

Charticulator - Alternative Text Color

Hi experts!

I have a simple bubble chart in charticulator with a text field that shows me the exact value. The bubbles are black and the text is white.

Since there are also values of '0' I see nothing in the visual in the end.

Is it possible to get a black text if Value is '0'?

Is it somehow possible to bring a dax measure with color information into that conext?

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @joshua1990,

You can't assign colour values directly (e.g., by hex code), as Charticulator binds numeric values as a gradual colour scale. If you want to do this without modelling, you can do user two text marks (one for zero values and one for everything else), e.g.:

dmp_1-1654636529254.png

How you should be able to reproduce:

 

  1. For your existing text mark (which we'll use for the non-zero values in this example), drag your measure value to the Visibility attribute, e.g.:

    dmp_2-1654636650864.png

  2. Click on the created scale (i) to bring up the scale editor. Ensure that your measure is selected (ii), and then set the Boolean condition to Greater than 0 (iii), e.g.:

    dmp_3-1654636825160.png

     

  3. Add another text mark, that is the same as your primary label.

  4. Give this a different name.

  5. Set its position to the same as the primary text mark.

  6. Set its Color attribute to black.

  7. This all may look messy for the moment, but we'll sort that next, e.g.:

    dmp_4-1654636959853.png

  8. Hold the Shift key and drag your measure to this mark's Visibility attribute. Holding the Shift key is very important, as this will tell Charticulator to create a new scale for the attribute, and not re-use the existing one. You should see something like the following if this has worked:

    dmp_5-1654637116371.png

    If it hasn't worked, you will see something like this (this is incorrect, as Charticulator will use the same conditions to show/hide the marks):

    dmp_6-1654637160883.png

    If this has happened, remove the Visibility attribute data binding from your 'zero' mark and repeat the step.


  9. Click this new scale to open the scale editor, and set the Boolean properties to Equal to 0, e.g.:

    dmp_7-1654637316897.png

  10. This will now hide the values greater than zero and will (hopefully) look how you expect it to, e.g.:

    dmp_8-1654637368025.png

     

All being well, this is all you should need to do. Good luck!

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

Hi @joshua1990,

You can't assign colour values directly (e.g., by hex code), as Charticulator binds numeric values as a gradual colour scale. If you want to do this without modelling, you can do user two text marks (one for zero values and one for everything else), e.g.:

dmp_1-1654636529254.png

How you should be able to reproduce:

 

  1. For your existing text mark (which we'll use for the non-zero values in this example), drag your measure value to the Visibility attribute, e.g.:

    dmp_2-1654636650864.png

  2. Click on the created scale (i) to bring up the scale editor. Ensure that your measure is selected (ii), and then set the Boolean condition to Greater than 0 (iii), e.g.:

    dmp_3-1654636825160.png

     

  3. Add another text mark, that is the same as your primary label.

  4. Give this a different name.

  5. Set its position to the same as the primary text mark.

  6. Set its Color attribute to black.

  7. This all may look messy for the moment, but we'll sort that next, e.g.:

    dmp_4-1654636959853.png

  8. Hold the Shift key and drag your measure to this mark's Visibility attribute. Holding the Shift key is very important, as this will tell Charticulator to create a new scale for the attribute, and not re-use the existing one. You should see something like the following if this has worked:

    dmp_5-1654637116371.png

    If it hasn't worked, you will see something like this (this is incorrect, as Charticulator will use the same conditions to show/hide the marks):

    dmp_6-1654637160883.png

    If this has happened, remove the Visibility attribute data binding from your 'zero' mark and repeat the step.


  9. Click this new scale to open the scale editor, and set the Boolean properties to Equal to 0, e.g.:

    dmp_7-1654637316897.png

  10. This will now hide the values greater than zero and will (hopefully) look how you expect it to, e.g.:

    dmp_8-1654637368025.png

     

All being well, this is all you should need to do. Good luck!

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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