<?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: Multiple Data Views in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3950829#M52880</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/749078"&gt;@FoXTiSiTY&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can take a look at following links if they suitable for your requirement:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings" target="_blank"&gt;Understand data view mapping in Power BI visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/objects-properties?tabs=getFormattingModel" target="_blank"&gt;Objects and properties of Power BI visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 05:58:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-27T05:58:12Z</dc:date>
    <item>
      <title>Multiple Data Views</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3947922#M52850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a custom Power BI Visual, and I would like to make use of the multiple data views as I don't want to duplicate data coming in and it would be much simpler. But I'm unable to get multiple data views as I always get 1 from the VisualUpdateOptions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my dataViewMappings config, I'd like to use a table for my dimensions and measures, and then a single for a single value coming in. But this is not working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"dataRoles": [
        {
            "displayName": "Dimensions",
            "name": "category",
            "kind": "Grouping"
        },
        {
            "displayName": "Measures",
            "name": "measure",
            "kind": "Measure"
        },
        {
            "displayName": "Server User ID",
            "displayNameKey": "@LICENSEDUSER",
            "name": "username",
            "kind": "Measure"
        }
    ],
"dataViewMappings": [
        {
            "conditions": [
                {
                    "category": {

                        "max": 20
                    },
                    "measure": {

                        "max": 20
                    }
                }
            ],
            "table": {
                "rows": {
                    "select": [
                        {
                            "for": {
                                "in": "category"
                            }
                        },
                        {
                            "for": {
                                "in": "measure"
                            }
                        }
                    ],
                    "dataReductionAlgorithm": {
                        "top": {
                            "count": 50000
                        }
                    }
                }
            }
        },
        {
            "conditions": [
                {
                    "username": {
                        "max": 1
                    }
                }
            ],
            "single": {
                "role": "username"
            }
        }
    ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did check the documentation and it mentions that multiple data views is possible:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/capabilities#dataviewmappings-how-you-want-the-data-mapped" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/developer/visuals/capabilities#dataviewmappings-how-you-want-the-data-mapped&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FoXTiSiTY_0-1716561058335.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1105079iEBE15FD2E2833A26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FoXTiSiTY_0-1716561058335.png" alt="FoXTiSiTY_0-1716561058335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help or explain why this is not working for me?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 14:33:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3947922#M52850</guid>
      <dc:creator>FoXTiSiTY</dc:creator>
      <dc:date>2024-05-24T14:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Data Views</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3950829#M52880</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/749078"&gt;@FoXTiSiTY&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can take a look at following links if they suitable for your requirement:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings" target="_blank"&gt;Understand data view mapping in Power BI visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/objects-properties?tabs=getFormattingModel" target="_blank"&gt;Objects and properties of Power BI visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 05:58:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3950829#M52880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T05:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Data Views</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3950893#M52881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've gone through all the documentation. As explained in my original post, the documentation states that this is possible, i've also given an example of my capabilities file, but it just doesn't want to work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 06:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/3950893#M52881</guid>
      <dc:creator>FoXTiSiTY</dc:creator>
      <dc:date>2024-05-27T06:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Data Views</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/4084228#M54609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/749078"&gt;@FoXTiSiTY&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Were you able to find a solution for the multiple dataViewMappings? I also need that functionality for my custom visual: I'm trying to make a custom visual that has both Cards and a Line Area Chart. Although the documentation noted that combining the single dataViewMapping with anything else was not possible, my visual still doesn't work, and I've tried different permutations: two separate categorical mappings for the cards, table and categorical, matrix and table, and even single and categorical out of desperation. However, nothing works.&lt;BR /&gt;&lt;BR /&gt;Alternatively, do you know if there's a way to store the original unaltered, unfiltered source data as a dataView?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 13:01:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multiple-Data-Views/m-p/4084228#M54609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-06T13:01:09Z</dc:date>
    </item>
  </channel>
</rss>

