Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I have a Matrix that shows the number of Leavers and how many of those completed an Exit Interview before leaving, with an Adoption measure to show the percentage of Leavers/Exit Interviewees - as below:
If it is above the 10% target they get a tick, if below they get a cross.
Really simply - I want to add a conditional formatting rule whereby if the "Leavers" column and "Exit Interviewees" is 0, then they get a neutral icon, as it wouldn't be fair to give them a cross if there were no Leavers to conduct an Exit Interview. Otherwise, continue to follow the rules I've already set if the Adoption is above or below 10%.
Is this possible?
Thanks for any help and assistance.
@jgdgsf2 , You have to use a unichar measure, where you choose a symbol based on the condition, and then a color measure to do font formatting using the field value option
example
/////Arrow
Arrow =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, UNICHAR(9650),
_change = 0, UNICHAR(9654),
_change < 0, UNICHAR(9660)
)
/////Arrow Color
Arrow color =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, "green",
_change = 0, "blue",
_change < 0, "red"
)
You have to get right unichar https://exceleratorbi.com.au/dax-unichar-function-power-bi/
https://exceleratorbi.com.au/conditional-formatting-using-icons-in-power-bi/
https://community.powerbi.com/t5/Desktop/FORMAT-icon-set-for-use-in-a-data-card/td-p/811692
Hi,
Thanks for your response, but this seems like it'll only work for the "Adoption" measure - I need a rule that works when both "Leavers" and "Exit Interviewees" = 0, show a neutral icon. If not, continue following my conditional formatting rules based on "Adoption" being > or < 10%.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 69 | |
| 39 | |
| 35 | |
| 23 |