Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext 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
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.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |