<?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 two variables in data view mapping in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3121587#M41651</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling with data view mapping. I want to get two variables (numbers) via two data fields in my project. Using single I have only managed to get one variable working. I have then tried using a table. That worked but there I have the problem that the table is field in order in with the user has inserted the values in the data field. I am reading the table in Order. But I need it distinct. I have also tried using a matrix, but I am unable to access the data in the code. With categorical I was not able to access it in the code. I have seen the documentation, but I am not fully understanding data view mapping.&lt;/P&gt;&lt;P&gt;Has anyone an idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 13:31:46 GMT</pubDate>
    <dc:creator>Markus_P</dc:creator>
    <dc:date>2023-03-09T13:31:46Z</dc:date>
    <item>
      <title>two variables in data view mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3121587#M41651</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling with data view mapping. I want to get two variables (numbers) via two data fields in my project. Using single I have only managed to get one variable working. I have then tried using a table. That worked but there I have the problem that the table is field in order in with the user has inserted the values in the data field. I am reading the table in Order. But I need it distinct. I have also tried using a matrix, but I am unable to access the data in the code. With categorical I was not able to access it in the code. I have seen the documentation, but I am not fully understanding data view mapping.&lt;/P&gt;&lt;P&gt;Has anyone an idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:31:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3121587#M41651</guid>
      <dc:creator>Markus_P</dc:creator>
      <dc:date>2023-03-09T13:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: two variables in data view mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3127020#M41696</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/526734"&gt;@Markus_P&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I'd like to suggest you refer the following blog about create relationship with multiple columns:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://radacad.com/relationship-in-power-bi-with-multiple-columns" target="_blank"&gt;Relationship in Power BI with Multiple Columns - RADACAD&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 06:50:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3127020#M41696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-13T06:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: two variables in data view mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3136287#M41777</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I can help someone with this Information. I solved it via the Roles of Collums. I get the index, with this Index I know in which order the data was read in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the Index I use:&lt;/P&gt;&lt;P&gt;let resultCY = dataView.table.columns.filter( (col) =&amp;gt; col.roles["CY"])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this Information from:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Best-practice-for-accessing-row-data-in-dataView-table/m-p/724131/highlight/true#M19773" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Best-practice-for-accessing-row-data-in-dataView-table/m-p/724131/highlight/true#M19773&lt;/A&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 13:13:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/two-variables-in-data-view-mapping/m-p/3136287#M41777</guid>
      <dc:creator>Markus_P</dc:creator>
      <dc:date>2023-03-16T13:13:57Z</dc:date>
    </item>
  </channel>
</rss>

