<?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 Custom visualization that expands JSON to columns dynamically in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-visualization-that-expands-JSON-to-columns-dynamically/m-p/4419493#M12214</link>
    <description>&lt;P&gt;This is a re-posting of another thread, but this time for a custom visual:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Dynamic-table-based-on-JSON-column/m-p/4418782#M1374603" target="_blank" rel="noopener"&gt;https://community.fabric.microsoft.com/t5/Desktop/Dynamic-table-based-on-JSON-column/m-p/4418782#M1374603&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a data source that is a table of fixed columns, as well as an additional column with JSON of the form:&lt;BR /&gt;{"Column 1": "value", "Column 2": "value", ... }&lt;/P&gt;&lt;P&gt;The table represents records from different entities that fail some validation criteria.&lt;BR /&gt;(let's say 100 entities in total, each entity with 20 columns, each entity containing 500 failing records)&lt;/P&gt;&lt;P&gt;We will never show a single table for different entities together, we will first filter on each entity separately.&lt;/P&gt;&lt;P&gt;Once the filtering is done, we want to display all the records of this entity in an expanded table.&lt;/P&gt;&lt;P&gt;We could build one report per entity, expanding all its JSON columns, but this is too cumbersome.&lt;/P&gt;&lt;P&gt;Hence the need to filter 1st, and then display the expanded table.&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="Screenshot 2025-02-20 at 11.40.34 AM.png" style="width: 775px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1241677i74058DFDEE12AC53/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-20 at 11.40.34 AM.png" alt="Screenshot 2025-02-20 at 11.40.34 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table should be a 'normal' PBI table, with sorting, filtering, conditional formatting, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output expected after filtering on 'Apples'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-20 at 11.47.19 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1241684i41914044A8A84852/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-20 at 11.47.19 AM.png" alt="Screenshot 2025-02-20 at 11.47.19 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any direction on how to achieve this is welcome&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 10:48:05 GMT</pubDate>
    <dc:creator>Montechristos01</dc:creator>
    <dc:date>2025-02-20T10:48:05Z</dc:date>
    <item>
      <title>Custom visualization that expands JSON to columns dynamically</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-visualization-that-expands-JSON-to-columns-dynamically/m-p/4419493#M12214</link>
      <description>&lt;P&gt;This is a re-posting of another thread, but this time for a custom visual:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Dynamic-table-based-on-JSON-column/m-p/4418782#M1374603" target="_blank" rel="noopener"&gt;https://community.fabric.microsoft.com/t5/Desktop/Dynamic-table-based-on-JSON-column/m-p/4418782#M1374603&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a data source that is a table of fixed columns, as well as an additional column with JSON of the form:&lt;BR /&gt;{"Column 1": "value", "Column 2": "value", ... }&lt;/P&gt;&lt;P&gt;The table represents records from different entities that fail some validation criteria.&lt;BR /&gt;(let's say 100 entities in total, each entity with 20 columns, each entity containing 500 failing records)&lt;/P&gt;&lt;P&gt;We will never show a single table for different entities together, we will first filter on each entity separately.&lt;/P&gt;&lt;P&gt;Once the filtering is done, we want to display all the records of this entity in an expanded table.&lt;/P&gt;&lt;P&gt;We could build one report per entity, expanding all its JSON columns, but this is too cumbersome.&lt;/P&gt;&lt;P&gt;Hence the need to filter 1st, and then display the expanded table.&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="Screenshot 2025-02-20 at 11.40.34 AM.png" style="width: 775px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1241677i74058DFDEE12AC53/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-20 at 11.40.34 AM.png" alt="Screenshot 2025-02-20 at 11.40.34 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table should be a 'normal' PBI table, with sorting, filtering, conditional formatting, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output expected after filtering on 'Apples'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-20 at 11.47.19 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1241684i41914044A8A84852/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-20 at 11.47.19 AM.png" alt="Screenshot 2025-02-20 at 11.47.19 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any direction on how to achieve this is welcome&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 10:48:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-visualization-that-expands-JSON-to-columns-dynamically/m-p/4419493#M12214</guid>
      <dc:creator>Montechristos01</dc:creator>
      <dc:date>2025-02-20T10:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visualization that expands JSON to columns dynamically</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-visualization-that-expands-JSON-to-columns-dynamically/m-p/4423140#M12222</link>
      <description>&lt;P&gt;The only way you can get this to work is to unpivot the data.&amp;nbsp; Then you can let the matrix visual do the re-pivoting.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2025 17:08:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-visualization-that-expands-JSON-to-columns-dynamically/m-p/4423140#M12222</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-02-22T17:08:53Z</dc:date>
    </item>
  </channel>
</rss>

