<?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: DataViewMappings with both table and categorical. in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/514269#M15860</link>
    <description>&lt;P&gt;Multiple dataViewMappings are not supported currently, which is a&amp;nbsp;pain. I've basically been creating larger than necessary data tables in my model and passing those in, and then transforming the data into the format I need in my JavaScript before rendering my visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals/issues/251" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals/issues/251&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 21:16:03 GMT</pubDate>
    <dc:creator>Nafferty</dc:creator>
    <dc:date>2018-09-12T21:16:03Z</dc:date>
    <item>
      <title>DataViewMappings with both table and categorical.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/511744#M15782</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lately I came across the&amp;nbsp;situation in which I have to define two different data view mappings. Being precise, I have to define both table and categorical mappings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    "dataViewMappings": [
        {
            "table": {
                "rows": {
                    "for": {
                        "in": "branches"
                    }
                }
            },
            "categorical": {
                "categories": {
                    "for": { "in": "category" }
                },
                "values": {
                    "select": [
                        { "bind": { "to": "value" } }
                    ]
                }
            }
        }
    ]&lt;/PRE&gt;&lt;P&gt;But that&amp;nbsp;code won't compile :&lt;/P&gt;&lt;PRE&gt; error  JSON  capabilities.json :  instance.dataViewMappings[0] is not exactly one from [subschema 0],[subschema 1],[subschema 2],[subschema 3],[subschema 4]&lt;/PRE&gt;&lt;P&gt;What am I doing wrong ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create two dataViewMappings but for some reason my visual has crashed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    "dataViewMappings": [
        {
            "table": {
                "rows": {   
                    "select": [
                        {
                            "for": {
                                "in": "measure1"
                            }  
                        },
                        {
                            "for": {
                                "in": "measure2"
                            }  
                        }
                    ]
                }
            }
        },
        {
            "categorical": {
                "categories": {
                    "for": {
                        "in": "categories"
                    }
                },
                "values": {
                    "select": [
                        {"bind": {
                            "to": "values"
                        }}
                    ]
                }
            }
        }
    ]&lt;/PRE&gt;&lt;P&gt;It seems that pbiviz does not support multiple queries. Anyone tried to create more then one dataViewMapping?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 07:16:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/511744#M15782</guid>
      <dc:creator>michal089</dc:creator>
      <dc:date>2018-09-11T07:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings with both table and categorical.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/514269#M15860</link>
      <description>&lt;P&gt;Multiple dataViewMappings are not supported currently, which is a&amp;nbsp;pain. I've basically been creating larger than necessary data tables in my model and passing those in, and then transforming the data into the format I need in my JavaScript before rendering my visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals/issues/251" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals/issues/251&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 21:16:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/514269#M15860</guid>
      <dc:creator>Nafferty</dc:creator>
      <dc:date>2018-09-12T21:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings with both table and categorical.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/519536#M16049</link>
      <description>&lt;P&gt;No plans to support multi-data mapping. Please use one mapping (e.g. table or categorical).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 07:04:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/519536#M16049</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-09-19T07:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings with both table and categorical.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/764797#M20335</link>
      <description>&lt;P&gt;Hi Ignat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to pass the value of a single calculated measure along with my categorical dataview, is it possible ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 04:24:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/764797#M20335</guid>
      <dc:creator>rahulvartak</dc:creator>
      <dc:date>2019-08-13T04:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings with both table and categorical.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/2177546#M32789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adding to the question raised by @rahulvartak, could you please let us know whether any single calculated measure value can be passed along with categorical dataview with many-to-one join relationship ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 09:10:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/2177546#M32789</guid>
      <dc:creator>akshaytech9</dc:creator>
      <dc:date>2021-11-08T09:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: DataViewMappings with both table and categorical.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/3754459#M50285</link>
      <description>&lt;P&gt;Can i create two dataview objects for a single pbiviz project?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 08:30:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DataViewMappings-with-both-table-and-categorical/m-p/3754459#M50285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-11T08:30:57Z</dc:date>
    </item>
  </channel>
</rss>

