<?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 Matrix in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734671#M12590</link>
    <description>&lt;P&gt;Improve Handling of Missing Data in Sparklines – Option to Show Zeros or Use Column Chart&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm using Power KPI Matrix to show two measures as sparklines over a date axis:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;End Balance Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sales Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;While the visual works well for &lt;STRONG&gt;End Balance Quantity&lt;/STRONG&gt; (which typically has values on most dates), I’m running into issues with &lt;STRONG&gt;Sales Quantity&lt;/STRONG&gt;, where data is often &lt;STRONG&gt;missing on some dates&lt;/STRONG&gt; (i.e., no sales occurred).&lt;/P&gt;&lt;P&gt;Currently, the visual &lt;STRONG&gt;connects the dots&lt;/STRONG&gt; between existing sales data points, even across these gaps, which makes the line chart &lt;STRONG&gt;visually misleading&lt;/STRONG&gt;—as if there were continuous activity.&lt;/P&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":wrench:"&gt;🔧&lt;/span&gt; Suggestions:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Add an option to control how missing values are treated&lt;/STRONG&gt;, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Convert missing values to &lt;STRONG&gt;zero&lt;/STRONG&gt; or &lt;STRONG&gt;blank&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Prevent line interpolation across missing dates (break the line)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Allow a different visual representation per measure&lt;/STRONG&gt;, e.g.:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Keep &lt;STRONG&gt;End Balance Qty&lt;/STRONG&gt; as a line&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Show &lt;STRONG&gt;Sales Qty&lt;/STRONG&gt; as a &lt;STRONG&gt;column/bar chart&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This would effectively make it a &lt;STRONG&gt;combo chart&lt;/STRONG&gt; within the matrix, which would be more appropriate for measures with very different data behaviors.&lt;/P&gt;&lt;P&gt;Adding these options would greatly enhance visual clarity and accuracy, especially for datasets with sparse or irregular data like sales transactions.&lt;/P&gt;&lt;P&gt;Thank you for your great work on this visual!&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2025 10:26:46 GMT</pubDate>
    <dc:creator>uvga</dc:creator>
    <dc:date>2025-06-17T10:26:46Z</dc:date>
    <item>
      <title>Power KPI Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734671#M12590</link>
      <description>&lt;P&gt;Improve Handling of Missing Data in Sparklines – Option to Show Zeros or Use Column Chart&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm using Power KPI Matrix to show two measures as sparklines over a date axis:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;End Balance Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sales Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;While the visual works well for &lt;STRONG&gt;End Balance Quantity&lt;/STRONG&gt; (which typically has values on most dates), I’m running into issues with &lt;STRONG&gt;Sales Quantity&lt;/STRONG&gt;, where data is often &lt;STRONG&gt;missing on some dates&lt;/STRONG&gt; (i.e., no sales occurred).&lt;/P&gt;&lt;P&gt;Currently, the visual &lt;STRONG&gt;connects the dots&lt;/STRONG&gt; between existing sales data points, even across these gaps, which makes the line chart &lt;STRONG&gt;visually misleading&lt;/STRONG&gt;—as if there were continuous activity.&lt;/P&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":wrench:"&gt;🔧&lt;/span&gt; Suggestions:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Add an option to control how missing values are treated&lt;/STRONG&gt;, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Convert missing values to &lt;STRONG&gt;zero&lt;/STRONG&gt; or &lt;STRONG&gt;blank&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Prevent line interpolation across missing dates (break the line)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Allow a different visual representation per measure&lt;/STRONG&gt;, e.g.:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Keep &lt;STRONG&gt;End Balance Qty&lt;/STRONG&gt; as a line&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Show &lt;STRONG&gt;Sales Qty&lt;/STRONG&gt; as a &lt;STRONG&gt;column/bar chart&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This would effectively make it a &lt;STRONG&gt;combo chart&lt;/STRONG&gt; within the matrix, which would be more appropriate for measures with very different data behaviors.&lt;/P&gt;&lt;P&gt;Adding these options would greatly enhance visual clarity and accuracy, especially for datasets with sparse or irregular data like sales transactions.&lt;/P&gt;&lt;P&gt;Thank you for your great work on this visual!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 10:26:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734671#M12590</guid>
      <dc:creator>uvga</dc:creator>
      <dc:date>2025-06-17T10:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Power KPI Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734841#M12591</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1291094"&gt;@uvga&lt;/a&gt;&lt;BR /&gt;Default Power BI line charts don't have a way to show blank data unfortunately, but we can address this by replacing all the blank values with zero in a separate table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly we create a calendar table to store all the dates between the beginning and end of the sales period:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SalesKPI = CALENDAR(MINX('sales',[Date]),MAXX('sales',[Date]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then we create a one to many relationship from the calendar table to the sales table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grognard_0-1750166465621.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1276963i7C0C820B01975367/image-size/large?v=v2&amp;amp;px=999" role="button" title="grognard_0-1750166465621.png" alt="grognard_0-1750166465621.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then create a Measure that calculates the total for values that exist, and replace values that don't with 0, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Value = IF(ISBLANK(SUM('products stats'[GetItNow])),0,SUM('products stats'[GetItNow]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This value can then be used to visualize the total trend over time with blank values appearing as zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a &lt;A href="https://grognardca-my.sharepoint.com/:u:/g/personal/alexander_gullen_grognard_ca/EU8MlDwBM1xLrsycwiqIBesB7AwFze-icKpwiuULqTh4UA?e=uYc3fL" target="_blank" rel="noopener"&gt;demo&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 13:22:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734841#M12591</guid>
      <dc:creator>grognard</dc:creator>
      <dc:date>2025-06-17T13:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Power KPI Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734852#M12592</link>
      <description>&lt;P&gt;Thank you for the suggestion!&lt;/P&gt;&lt;P&gt;Unfortunately, I'm using a &lt;STRONG&gt;Live connection to a SQL data source&lt;/STRONG&gt;, and Power BI &lt;STRONG&gt;does not allow creating calculated tables or modifying data models&lt;/STRONG&gt; in this mode. This means I can't create a separate table with zeros in place of blanks as suggested.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 13:30:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734852#M12592</guid>
      <dc:creator>uvga</dc:creator>
      <dc:date>2025-06-17T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Power KPI Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734858#M12593</link>
      <description>&lt;P&gt;It would be extremely helpful if &lt;STRONG&gt;Power KPI Matrix&lt;/STRONG&gt; included an option to control how missing values are treated—such as converting blanks to zero or choosing to break the line—directly within the visual.&lt;/P&gt;&lt;P&gt;For reference, the custom visual &lt;STRONG&gt;"Sparkline by OKViz"&lt;/STRONG&gt; does offer this kind of behavior—it allows control over whether missing values are shown as blanks or zeros. Unfortunately, it only supports &lt;STRONG&gt;a single measure per visual&lt;/STRONG&gt;, so it doesn't meet my need to display &lt;STRONG&gt;multiple lines in one graph&lt;/STRONG&gt; (like Sales Qty and End Balance Qty together).&lt;/P&gt;&lt;P&gt;Adding this functionality to Power KPI Matrix would really enhance its flexibility and accuracy, especially for mixed time series with irregular data.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 13:35:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4734858#M12593</guid>
      <dc:creator>uvga</dc:creator>
      <dc:date>2025-06-17T13:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Power KPI Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4736194#M12594</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1291094"&gt;@uvga&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You are currently using Power KPI Matrix to visualize two measures as sparklines along a date axis:&amp;nbsp;End Balance Quantity and&amp;nbsp;Sales Quantity. While this works well for &lt;STRONG&gt;End Balance Quantity&lt;/STRONG&gt;, which typically has values on most dates, I’m experiencing a visual inaccuracy with &lt;STRONG&gt;Sales Quantity&lt;/STRONG&gt;, where many dates have &lt;STRONG&gt;no data (i.e., zero or no sales occurred)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I propose the following improvements to handle missing values more effectively and enhance visual accuracy:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;1. Option to Control Missing Data Behavior&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Add a configuration setting to allow users to choose how the visual treats missing values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Display as zero&lt;/STRONG&gt; (ideal for sparse transaction data)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Leave as blank&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Break the line&lt;/STRONG&gt; (avoid interpolating across gaps)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;2. Support for Mixed Chart Types (Combo Sparklines)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Enable users to apply different visual styles for different measures within the same matrix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Line for End Balance Quantity&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Column/Bar for Sales Quantity&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;This would functionally create a combo chart inside the KPI Matrix, improving the interpretability of measures with different temporal patterns.&lt;/EM&gt;&lt;/P&gt;&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;For Detaled Inforamtion:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Sparkline-not-showing-correctly-in-Power-KPI-Matrix/td-p/2135361" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Sparkline not showing correctly in Power KPI Matrix&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Flat-sparkline-if-no-data-exists/m-p/631609" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Flat sparkline if no data exists&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-sparklines-tables" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Create sparklines in a table or matrix in Power BI&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/nasif-azam-9aa2331a0/" target="_blank" rel="noopener nofollow noreferrer"&gt;Nasif Azam&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 14:42:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Power-KPI-Matrix/m-p/4736194#M12594</guid>
      <dc:creator>Nasif_Azam</dc:creator>
      <dc:date>2025-06-18T14:42:36Z</dc:date>
    </item>
  </channel>
</rss>

