Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello All
can we increase default conditional icon size in matrix table.? or regular geneeral approach is to call & store image from external site and define image properties and assign image to conditional measure.?
Steps i'm following , created a
Which is recommended ?
Thanks
RF
Solved! Go to Solution.
Hi @refint650 ,
You can use SVG in conditonal formatting.
Create a measure
Icon =
SWITCH(
TRUE(),
SUM('Table'[Indicator]) >=0 && SUM('Table'[Indicator]) <=2 ,"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='40' stroke='red' stroke-width='4' fill='red' /> </svg>",
SUM('Table'[Indicator]) > 2 && SUM('Table'[Indicator]) <=3,"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='30' stroke='yellow' stroke-width='4' fill='yellow' /> </svg>",
SUM('Table'[Indicator]) > 3,"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='20' stroke='green' stroke-width='4' fill='green' /> </svg>"
)
Change the mesaure data category as Image URL
Apply to the conditonal formatting
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @refint650 ,
You can use SVG in conditonal formatting.
Create a measure
Icon =
SWITCH(
TRUE(),
SUM('Table'[Indicator]) >=0 && SUM('Table'[Indicator]) <=2 ,"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='40' stroke='red' stroke-width='4' fill='red' /> </svg>",
SUM('Table'[Indicator]) > 2 && SUM('Table'[Indicator]) <=3,"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='30' stroke='yellow' stroke-width='4' fill='yellow' /> </svg>",
SUM('Table'[Indicator]) > 3,"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='20' stroke='green' stroke-width='4' fill='green' /> </svg>"
)
Change the mesaure data category as Image URL
Apply to the conditonal formatting
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hey @refint650
In Power BI, the default size of conditional icons or symbols added via measures, like using UNICHAR, cannot be directly increased in size within the matrix or table visual itself. Power BI doesn't currently provide options to adjust the font size of UNICHAR symbols in a visual.
If it helps Kudos to work and Accept it as Solution
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |