<?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: Custom Visualization: capabilities.json &amp;amp; table definition with multiple columns in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/656464#M18944</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try the following example.&lt;/P&gt;&lt;PRE&gt;    "dataRoles": [{
        "name": "Fields",
        "kind": "Grouping",
        "displayName": "Fields"
    }, {
        "name": "Values",
        "kind": "Measure",
        "displayName": "Values"
    }],
    "dataViewMappings": [{
        "table": {
            "rows": {
                "select": [{
                        "for": {
                            "in": "Fields"
                        }
                    },
                    {
                        "for": {
                            "in": "Values"
                        }
                    }
                ]
            }
        }
    }],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will add examples with serveral columns to our documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 11:34:18 GMT</pubDate>
    <dc:creator>v-evelk</dc:creator>
    <dc:date>2019-03-28T11:34:18Z</dc:date>
    <item>
      <title>Custom Visualization: capabilities.json &amp; table definition with multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/655515#M18936</link>
      <description>&lt;P&gt;We have multiple columns defined in our data roles definition and need to be able to define them in our corresponding table.&amp;nbsp; All of the examples are showing only 1 column within the table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;dataViewMappings&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;: [
    {
        &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;table&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;: {
            &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;rows&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;: {
                &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;for&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;: {
                    &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;in&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;: &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;values&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;
                }
            }
        }
    }
]&lt;/PRE&gt;&lt;P&gt;We've tried to have multiple 'for' objects, multiple 'in' objects but PBI won't compile the definitions.&amp;nbsp; Is there a way we can define multiple columns within this table definition?&amp;nbsp; In v1.9, we got our table for free and now we're attempting to recreate the definition in v2.3 but cannot with our custom visualization.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;our data roles:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPA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N&gt;"kind"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"GroupingOrMeasure"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"displayName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Target"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"displayNameKey"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Visual_Weight"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Weight"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"kind"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"GroupingOrMeasure"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"displayName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Weight"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}, ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:18:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/655515#M18936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-27T15:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization: capabilities.json &amp; table definition with multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/655548#M18938</link>
      <description>&lt;P&gt;from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v2.3.0/schema.capabilities.json" target="_blank" rel="noopener"&gt;https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v2.3.0/schema.capabilities.json&lt;/A&gt;&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="PBI_Table.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/155137i5E8A9CD94A632A17/image-size/large?v=v2&amp;amp;px=999" role="button" title="PBI_Table.png" alt="PBI_Table.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:41:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/655548#M18938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-27T15:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization: capabilities.json &amp; table definition with multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/656464#M18944</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try the following example.&lt;/P&gt;&lt;PRE&gt;    "dataRoles": [{
        "name": "Fields",
        "kind": "Grouping",
        "displayName": "Fields"
    }, {
        "name": "Values",
        "kind": "Measure",
        "displayName": "Values"
    }],
    "dataViewMappings": [{
        "table": {
            "rows": {
                "select": [{
                        "for": {
                            "in": "Fields"
                        }
                    },
                    {
                        "for": {
                            "in": "Values"
                        }
                    }
                ]
            }
        }
    }],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will add examples with serveral columns to our documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 11:34:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-capabilities-json-amp-table-definition-with/m-p/656464#M18944</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-03-28T11:34:18Z</dc:date>
    </item>
  </channel>
</rss>

