Forum Discussion
How Signal Light flashing
Amjad1002 The measure returns the XML that describes the SVG graphic like a blinking dot. You set the measure to be an Image URL data category and it displays the image described.
Do I need to
Microsoft Hates Greg in extral tools?
- Amjad10023 years agoHelper III
Hi Greg,
I am on halfway through and I am following your code. I am getting blinks just woundering if I do not have target =100 and If I have target such as >1250 how can that will work? I tried with >1250 in taget but its not working but when I do target 100 then it work.
- Greg_Deckler3 years agoCommunity Champion
Amjad1002 So I typically control that with a Flag measure or something similar. So you create a Flag measure like:
Flag = if (sum(Sales[Sales])<[Target],1,0)Or perhaps in your case something like:
Flag = if (sum(Sales[Sales]) > 1200,1,0)Then this part of the SVG measure controls whether the graphic is displayed or not:
RETURN IF([Flag],__header & __shapeTextCircle & __footer,"")So if the Flag is 1 then you display the image, otherwise just return BLANK or an empty string ""
- Amjad10023 years agoHelper III
RETURN IF([Flag],__header & __shapeTextCircle & __footer,"")
Instead of empty I want to show Green circle without flasing.
is that possible ?