Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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?
Solved! Go to Solution.
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.:
How you should be able to reproduce:
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):
If this has happened, remove the Visibility attribute data binding from your 'zero' mark and repeat the step.
All being well, this is all you should need to do. Good luck!
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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.:
How you should be able to reproduce:
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):
If this has happened, remove the Visibility attribute data binding from your 'zero' mark and repeat the step.
All being well, this is all you should need to do. Good luck!
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.