To implement this recipe, do the following:
- Create the following measures:
Target = IF(MAX('R09_Table'[Value])>=100,TRUE,FALSE)
Heart =
VAR __header = "data:image/svg+xml;utf8," &
"<svg
xmlns:dc='http://purl.org/dc/elements/1.1/'
xmlns:cc='http://creativecommons.org/ns#'
xmlns:svg='http://www.w3.org/2000/svg'
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 150 150' version='1.1'>"
VAR __footer = "</svg>"
VAR __shapeTextCircle = "
<g>
<circle cx='30' cy='50' r='30' stroke='Red' fill='Red'/>
<circle cx='70' cy='50' r='30' stroke='Red' fill='Red'/>
<path stroke-width='2' stroke='Red' fill='Red' d='M7 70, L50 112, L93 70'/>
</g>
"
RETURN
IF([Target],"",__header & __shapeTextCircle & __footer)
- Set the Data category for the Heart measure to an Image Url.
- On a Report page, create a Table visualization and place the Name column from the R09_Table table into the Values area of the visualization.
- In the same Table visualization, place the Heart measure into the Values area.