<?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: How can i use two table data source in one visual object? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1085907#M23617</link>
    <description>Sorry, what exactly is that you posted?</description>
    <pubDate>Tue, 12 May 2020 12:15:36 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-05-12T12:15:36Z</dc:date>
    <item>
      <title>How can i use two table data source in one visual object?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1085797#M23616</link>
      <description>&lt;P&gt;Need help!How can i use two table data source in one visual object?Code such as:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "dataRoles": [
        {
            "displayName": "Category Data",
            "displayNameKey": "CategoryData",
            "name": "category",
            "kind": "Grouping"
        },
        {
            "displayName": "Category Data2",
            "displayNameKey": "CategoryData2",
            "name": "category2",
            "kind": "Grouping"
        },
        {
            "displayName": "Measure Data",
            "name": "measure",
            "kind": "Measure"
        },
        {
            "displayName": "Measure Data2",
            "name": "measure2",
            "kind": "Measure"
        }
    ],
    "dataViewMappings": [
        {
            "categorical": {
                "categories": {
                    "select": [
                        {
                            "bind": {
                                "to": "category"
                            }
                        },
                        {
                            "bind": {
                                "to": "category2"
                            }
                        }
                    ]
                },
                "values": {
                    "select": [
                        {
                            "bind": {
                                "to": "measure"
                            }
                        },
                        {
                            "bind": {
                                "to": "measure2"
                            }
                        }
                    ]
                }
            }
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;But I found that in the visual object of the matrix, rows can use it(two table data source)...Why?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 10:32:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1085797#M23616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-12T10:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use two table data source in one visual object?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1085907#M23617</link>
      <description>Sorry, what exactly is that you posted?</description>
      <pubDate>Tue, 12 May 2020 12:15:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1085907#M23617</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-12T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use two table data source in one visual object?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1086699#M23634</link>
      <description>&lt;P&gt;Hi @Anonymous, and welcome aboard!&lt;/P&gt;
&lt;P&gt;We will need a little more to go on to assist you - if you haven't seen it, I'd suggest reading &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_self"&gt;this welcome post&lt;/A&gt; to help you get your question answered more quickly; particularly as there's very little knowledge of custom visuals development in the community, and they can be incredibly open-ended in how to approach solving challenges involving them.&lt;/P&gt;
&lt;P&gt;Going on what you've provided, I can supply a quick response in that Power BI visuals don't support multiple sources and you have to map your fields into a single &lt;FONT face="courier new,courier"&gt;dataViewMapping&lt;/FONT&gt;. Once this has been set up, you can manipulate this using code later on in your visual's logic, which could be an option for you, but it's going to depend on what you're looking to do.&lt;/P&gt;
&lt;P&gt;If you are able to provide a use case for what you are trying to achieve, and ideally some sample data, we can see if we can assist you with how you might try to solve this particular challenge (if it's possible).&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 20:33:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-can-i-use-two-table-data-source-in-one-visual-object/m-p/1086699#M23634</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2020-05-12T20:33:18Z</dc:date>
    </item>
  </channel>
</rss>

