Forum Discussion
Conditional fill shape color
PZU_DGW
Make sure you have the latest Power BI desktop version installed. Create a measure like the one below.
CF Measure = IF( ISBLANK([Yourmeasure]) , "Red" , "Green" )
Under Fill, choose the fx and apply the measure under filed value.
- PZU_DGW4 years agoRegular Visitor
Dear Fowmy,
Thanks for your reply and it works..but there's a catch. Unfortunatly is do have 9 buttons in my report (please dont't ask me why). Is there a way I do not have to make 9 separate measures to check the value? I already guest that I will make 2 color-measures (for with and without value) so i can change the colorstyle easily.
Thanks so far!
- Fowmy4 years agoSuper User
PZU_DGW
IF you are using different measures, then you need to apply them individually.
There is a way to automate by using Calculation Group in Tabular Editor- PZU_DGW4 years agoRegular Visitor
I've read about Calculation Groups, but for now I will make 9 separate measures. Thanks for the help (again!). I will take the time to figure out calculation groups later.
Greetings,
PZU