<?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 Data with current layout option for custom visual using matrix dataViewMapping in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Data-with-current-layout-option-for-custom-visual-using-matrix/m-p/5180186#M65049</link>
    <description>&lt;P&gt;I have a custom visual that uses a matrix dataViewMapping (rows + values, no column grouping). When I upload the .pbiviz to the Power BI service and use Export data from the three-dots menu, the "Data with current layout" option is disabled.&lt;/P&gt;&lt;P&gt;"This option is only available for table and matrix visuals"&lt;/P&gt;&lt;P&gt;My visual renders a plain HTML table from the matrix dataView - it is a matrix visual. But the option is greyed out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "dataRoles": [
    { "name": "rows",   "kind": "Grouping", "displayName": "Row Groups" },
    { "name": "values", "kind": "Measure",  "displayName": "Values" }
  ],
  "dataViewMappings": [
    {
      "matrix": {
        "rows":   { "for": { "in": "rows" }, "dataReductionAlgorithm": { "top": { "count": 1000 } } },
        "values": { "for": { "in": "values" } }
      }
    }
  ],
  "privileges": []
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is "Data with current layout" only available for PBI's own native Table/Matrix visuals, and never for custom visuals - regardless of which dataViewMapping they declare? If so, is there a capability flag or API to enable it for custom visuals?&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="smpa01_0-1778329857839.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1347973i6762A235DBEAF30C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smpa01_0-1778329857839.png" alt="smpa01_0-1778329857839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&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;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 09 May 2026 12:32:17 GMT</pubDate>
    <dc:creator>smpa01</dc:creator>
    <dc:date>2026-05-09T12:32:17Z</dc:date>
    <item>
      <title>Data with current layout option for custom visual using matrix dataViewMapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-with-current-layout-option-for-custom-visual-using-matrix/m-p/5180186#M65049</link>
      <description>&lt;P&gt;I have a custom visual that uses a matrix dataViewMapping (rows + values, no column grouping). When I upload the .pbiviz to the Power BI service and use Export data from the three-dots menu, the "Data with current layout" option is disabled.&lt;/P&gt;&lt;P&gt;"This option is only available for table and matrix visuals"&lt;/P&gt;&lt;P&gt;My visual renders a plain HTML table from the matrix dataView - it is a matrix visual. But the option is greyed out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "dataRoles": [
    { "name": "rows",   "kind": "Grouping", "displayName": "Row Groups" },
    { "name": "values", "kind": "Measure",  "displayName": "Values" }
  ],
  "dataViewMappings": [
    {
      "matrix": {
        "rows":   { "for": { "in": "rows" }, "dataReductionAlgorithm": { "top": { "count": 1000 } } },
        "values": { "for": { "in": "values" } }
      }
    }
  ],
  "privileges": []
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is "Data with current layout" only available for PBI's own native Table/Matrix visuals, and never for custom visuals - regardless of which dataViewMapping they declare? If so, is there a capability flag or API to enable it for custom visuals?&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="smpa01_0-1778329857839.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1347973i6762A235DBEAF30C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smpa01_0-1778329857839.png" alt="smpa01_0-1778329857839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&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;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2026 12:32:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-with-current-layout-option-for-custom-visual-using-matrix/m-p/5180186#M65049</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2026-05-09T12:32:17Z</dc:date>
    </item>
  </channel>
</rss>

