<?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 Re: Using the Vega-Lite Impute Statement within Deneb in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3492359#M8184</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;- Deneb uses the Vega-Lite parser, so it's supported. It seems to work as I would expect if I take the sample spec and create a visual with it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_0-1698096124328.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/985328iD93DB8ABE942A1EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="dmp_0-1698096124328.png" alt="dmp_0-1698096124328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 21:24:45 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2023-10-23T21:24:45Z</dc:date>
    <item>
      <title>Using the Vega-Lite Impute Statement within Deneb</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3487603#M8144</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve recently started learning how to work with Vega-Lite. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m looking to produce a form of academic calendar visualisation through Power BI/Deneb (with rows per term and columns per week). As the data is quite sparse, I opted to use Vega-Lite transform statements such as ‘impute’ to fill in gaps in the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although the specification works as expected within the Vega-Lite online editor environment (see simplified code sample below), the equivalent specification doesn’t fully work within Deneb. There don’t appear to be any errors or warnings, but the ‘impute’ statements don’t seem to have any effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use the ‘impute’ statement to add records to a Deneb ‘dataset’? If not, is there an alternative/better way to achieve the desired outcome?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simplified Vega-Lite specification…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "$schema": "&lt;A href="https://vega.github.io/schema/vega-lite/v5.json" target="_blank"&gt;https://vega.github.io/schema/vega-lite/v5.json&lt;/A&gt;",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "data": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "values": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{"Term": "Term 1", "Week No": "Wk. 1", "Description": "Lesson 1", &amp;nbsp;"Attendance": 1, "Attendance Text": "Attended"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{"Term": "Term 1", "Week No": "Wk. 5", "Description": "Lesson 2", &amp;nbsp;"Attendance": 3, "Attendance Text": "Unauthorised Absence"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{"Term": "Term 2", "Week No": "Wk. 2", "Description": "Lesson 3", &amp;nbsp;"Attendance": 1, "Attendance Text": "Attended"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{"Term": "Term 2", "Week No": "Wk. 6", "Description": "Lesson 4", &amp;nbsp;"Attendance": 2, "Attendance Text": "Authorised Absence"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{"Term": "Term 3", "Week No": "Wk. 7", "Description": "Lesson 6", &amp;nbsp;"Attendance": 0, "Attendance Text": "Future Event"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "transform": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"impute": "Attendance Text",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"key": "Term",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"keyvals": ["Term 1", "Term 2", "Term 3"],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"value": "No Event"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "impute": "Attendance Text",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "key": "Week No",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "keyvals": ["Wk. 1", "Wk. 2", "Wk. 3", "Wk. 4", "Wk. 5", "Wk. 6", "Wk. 7", "Wk. 8"],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "value": "No Event",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "groupby": ["Term"]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "mark": "rect",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "encoding": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "x": {"field": "Week No"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "y": {"field": "Term"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "color": {"field": "Attendance Text"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample output…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CameronRae_0-1697802601023.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/984021i3A323C3C6C7C94CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CameronRae_0-1697802601023.png" alt="CameronRae_0-1697802601023.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 11:56:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3487603#M8144</guid>
      <dc:creator>CameronRae</dc:creator>
      <dc:date>2023-10-20T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Vega-Lite Impute Statement within Deneb</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3489828#M8173</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;would you be able to advise if impute is supported?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 17:20:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3489828#M8173</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-10-22T17:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Vega-Lite Impute Statement within Deneb</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3492359#M8184</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;- Deneb uses the Vega-Lite parser, so it's supported. It seems to work as I would expect if I take the sample spec and create a visual with it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_0-1698096124328.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/985328iD93DB8ABE942A1EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="dmp_0-1698096124328.png" alt="dmp_0-1698096124328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 21:24:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3492359#M8184</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2023-10-23T21:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Vega-Lite Impute Statement within Deneb</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3496465#M8194</link>
      <description>&lt;P&gt;Thanks for confirming Daniel. I'll investigate further.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:06:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Using-the-Vega-Lite-Impute-Statement-within-Deneb/m-p/3496465#M8194</guid>
      <dc:creator>CameronRae</dc:creator>
      <dc:date>2023-10-25T13:06:33Z</dc:date>
    </item>
  </channel>
</rss>

