<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Power KPI 3.0.3.0 Line Color not performing as in 2.0.0 in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4849325#M12859</link>
    <description>&lt;P&gt;In the latest&amp;nbsp;Power KPI 3.0.3.0, the line color will show the same color for the same series and different values, whereas in 2.0.0, the line color will show different for the same series but different values.&lt;BR /&gt;3.0.3.0&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2.0.0&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I think the 2.0.0 color scheme is better as 3.0.0 will mess data totally&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 20:20:29 GMT</pubDate>
    <dc:creator>eddieisking2000</dc:creator>
    <dc:date>2025-10-13T20:20:29Z</dc:date>
    <item>
      <title>Power KPI 3.0.3.0 Line Color not performing as in 2.0.0</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4849325#M12859</link>
      <description>&lt;P&gt;In the latest&amp;nbsp;Power KPI 3.0.3.0, the line color will show the same color for the same series and different values, whereas in 2.0.0, the line color will show different for the same series but different values.&lt;BR /&gt;3.0.3.0&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2.0.0&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I think the 2.0.0 color scheme is better as 3.0.0 will mess data totally&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 20:20:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4849325#M12859</guid>
      <dc:creator>eddieisking2000</dc:creator>
      <dc:date>2025-10-13T20:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Power KPI 3.0.3.0 Line Color not performing as in 2.0.0</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4881757#M12924</link>
      <description>&lt;P data-start="55" data-end="429"&gt;n &lt;STRONG data-start="58" data-end="79"&gt;Power KPI 3.0.3.0&lt;/STRONG&gt; the visual binds &lt;STRONG data-start="97" data-end="130"&gt;colors to the series identity&lt;/STRONG&gt; (legend category). That keeps a &lt;STRONG data-start="163" data-end="189"&gt;fixed color per series&lt;/STRONG&gt;.&lt;BR data-start="190" data-end="193" /&gt;In &lt;STRONG data-start="196" data-end="205"&gt;2.0.0&lt;/STRONG&gt;, color could vary &lt;STRONG data-start="224" data-end="246"&gt;by the value/range&lt;/STRONG&gt;, so the &lt;EM data-start="255" data-end="261"&gt;same&lt;/EM&gt; series might change color as its values changed. Your screenshots show exactly that difference. So what you’re seeing in 3.0.3.0 is expected behavior after the change.&lt;/P&gt;
&lt;H3 data-start="431" data-end="485"&gt;Ways to get the old behavior (color by value) back&lt;/H3&gt;
&lt;P data-start="486" data-end="520"&gt;Pick the one that fits your setup:&lt;/P&gt;
&lt;OL data-start="522" data-end="1675"&gt;
&lt;LI data-start="522" data-end="1133"&gt;
&lt;P data-start="525" data-end="576"&gt;&lt;STRONG data-start="525" data-end="576"&gt;Use thresholds / conditional colors (preferred)&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="582" data-end="639"&gt;Create a &lt;EM data-start="591" data-end="598"&gt;state&lt;/EM&gt; measure and an optional &lt;EM data-start="623" data-end="630"&gt;color&lt;/EM&gt; measure:&lt;/P&gt;
&lt;P&gt;KPI State =&lt;BR /&gt;SWITCH(TRUE(),&lt;BR /&gt;[Value] &amp;gt;= [Target] * 1.05, "Good",&lt;BR /&gt;[Value] &amp;gt;= [Target] * 0.95, "Neutral",&lt;BR /&gt;TRUE(), "Bad"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;KPI Color =&lt;BR /&gt;SWITCH([KPI State],&lt;BR /&gt;"Good", "#2F7E2F",&lt;BR /&gt;"Neutral","#F2C811",&lt;BR /&gt;"Bad", "#C64E4E"&lt;BR /&gt;)&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="list-style-type: none;" data-start="522" data-end="1133"&gt;
&lt;UL data-start="580" data-end="1133"&gt;
&lt;LI data-start="949" data-end="1133"&gt;
&lt;P data-start="951" data-end="1133"&gt;In the Power KPI formatting, turn on &lt;STRONG data-start="988" data-end="1021"&gt;conditional colors/thresholds&lt;/STRONG&gt; (or “color by field value”) and bind &lt;STRONG data-start="1059" data-end="1074"&gt;&lt;CODE data-start="1061" data-end="1072"&gt;KPI Color&lt;/CODE&gt;&lt;/STRONG&gt;. That restores value-driven coloring for the line/markers.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-start="1135" data-end="1418"&gt;
&lt;P data-start="1138" data-end="1189"&gt;&lt;STRONG data-start="1138" data-end="1189"&gt;Split a single series into categorical “states”&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-start="1193" data-end="1418"&gt;
&lt;LI data-start="1193" data-end="1418"&gt;
&lt;P data-start="1195" data-end="1418"&gt;Materialize the states (Good/Neutral/Bad) into separate series (measures) and plot them together. Assign each series a fixed color. The line will appear to change color because different segments belong to different series.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-start="1420" data-end="1675"&gt;
&lt;P data-start="1423" data-end="1455"&gt;&lt;STRONG data-start="1423" data-end="1455"&gt;Pin the older visual version&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1461" data-end="1675"&gt;If you must keep exactly the 2.0.0 behavior, upload &lt;STRONG data-start="1513" data-end="1532"&gt;Power KPI 2.0.0&lt;/STRONG&gt; to &lt;STRONG data-start="1536" data-end="1562"&gt;Organizational Visuals&lt;/STRONG&gt; and disable auto-update for that visual. Then use that pinned version in reports that need value-based coloring.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#800000"&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 06:44:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4881757#M12924</guid>
      <dc:creator>johnbasha33</dc:creator>
      <dc:date>2025-11-21T06:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Power KPI 3.0.3.0 Line Color not performing as in 2.0.0</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4881840#M12925</link>
      <description>&lt;P&gt;Thanks very much for your details explaination John. Unfortunately, your solution is not suitable for my use case as I don't have a target to define colors. And the Microsoft team restored the Power KPI visual back to 2.0.0.0 a couple weeks ago, so now it is working as expected. They will launch the newer version after resolving this error. Many thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 08:07:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-3-0-3-0-Line-Color-not-performing-as-in-2-0-0/m-p/4881840#M12925</guid>
      <dc:creator>eddieisking2000</dc:creator>
      <dc:date>2025-11-21T08:07:31Z</dc:date>
    </item>
  </channel>
</rss>

