<?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 Chnage data source even if column sequence is not same in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Chnage-data-source-even-if-column-sequence-is-not-same/m-p/1004597#M3074</link>
    <description>&lt;P&gt;Problem : I want to chnage data source but my column sequence is not same.&lt;/P&gt;&lt;P&gt;Solution : To verify if we can do&amp;nbsp; this first we will add new data source.&lt;/P&gt;&lt;P&gt;For this we will be using exxcel source as shown below.&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="Excel capture 1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252375i7235C62BEAF51631/image-size/large?v=v2&amp;amp;px=999" role="button" title="Excel capture 1.PNG" alt="Excel capture 1.PNG" /&gt;&lt;/span&gt;Go to&amp;nbsp; Get data in Power BI desktop and load this data using excel source.&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="Exceel capture 2.PNG" style="width: 454px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252376i51AA0BB8B953BB1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exceel capture 2.PNG" alt="Exceel capture 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now we will go to&amp;nbsp; Same excel file again and change sequence of the columns also, remove last 3 rows.&lt;/P&gt;&lt;P&gt;After changing the column sequence we will save it as new file.&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="Excel capture 3.PNG" style="width: 954px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252386i3031909C419948DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Excel capture 3.PNG" alt="Excel capture 3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, we will go to Data transformation &amp;gt;&amp;gt; data source setting &amp;gt;&amp;gt; chnage data source and select new excel file path.&lt;/P&gt;&lt;P&gt;Click on Ok and then click close and cclick on apply chnages.&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="excel capture 4.PNG" style="width: 771px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252383i719133B02D473808/image-size/large?v=v2&amp;amp;px=999" role="button" title="excel capture 4.PNG" alt="excel capture 4.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now,&amp;nbsp; you can see see in the fields pain columns are&amp;nbsp; same but data has been chnaged according to new Excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final Output:&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="excel capture 5.PNG" style="width: 884px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252387iC471DD52CE059343/image-size/large?v=v2&amp;amp;px=999" role="button" title="excel capture 5.PNG" alt="excel capture 5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;NOTE :&amp;nbsp;&lt;/STRONG&gt;We can chnage column sequence but all column header names needs to be same in order to chnage data source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will be helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regrds,&lt;/P&gt;&lt;DIV&gt;Ashwin Kulkarni&lt;FONT&gt;, BI Consultant&lt;BR /&gt;Nice Software Solutions,&lt;BR /&gt;Address: 21, IT Park, Wing – A, Ground Floor,&lt;BR /&gt;Gayatri Nagar, NAGPUR - 440022 (India)&lt;BR /&gt;Mobile: 0712 664 4575&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;Linked in group :&amp;nbsp;&lt;FONT&gt;&lt;A href="https://www.linkedin.com/groups/10483395/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/groups/10483395/&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 02 Apr 2020 11:23:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-02T11:23:28Z</dc:date>
    <item>
      <title>Chnage data source even if column sequence is not same</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Chnage-data-source-even-if-column-sequence-is-not-same/m-p/1004597#M3074</link>
      <description>&lt;P&gt;Problem : I want to chnage data source but my column sequence is not same.&lt;/P&gt;&lt;P&gt;Solution : To verify if we can do&amp;nbsp; this first we will add new data source.&lt;/P&gt;&lt;P&gt;For this we will be using exxcel source as shown below.&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="Excel capture 1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252375i7235C62BEAF51631/image-size/large?v=v2&amp;amp;px=999" role="button" title="Excel capture 1.PNG" alt="Excel capture 1.PNG" /&gt;&lt;/span&gt;Go to&amp;nbsp; Get data in Power BI desktop and load this data using excel source.&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="Exceel capture 2.PNG" style="width: 454px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252376i51AA0BB8B953BB1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exceel capture 2.PNG" alt="Exceel capture 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now we will go to&amp;nbsp; Same excel file again and change sequence of the columns also, remove last 3 rows.&lt;/P&gt;&lt;P&gt;After changing the column sequence we will save it as new file.&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="Excel capture 3.PNG" style="width: 954px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252386i3031909C419948DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Excel capture 3.PNG" alt="Excel capture 3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, we will go to Data transformation &amp;gt;&amp;gt; data source setting &amp;gt;&amp;gt; chnage data source and select new excel file path.&lt;/P&gt;&lt;P&gt;Click on Ok and then click close and cclick on apply chnages.&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="excel capture 4.PNG" style="width: 771px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252383i719133B02D473808/image-size/large?v=v2&amp;amp;px=999" role="button" title="excel capture 4.PNG" alt="excel capture 4.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now,&amp;nbsp; you can see see in the fields pain columns are&amp;nbsp; same but data has been chnaged according to new Excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final Output:&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="excel capture 5.PNG" style="width: 884px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252387iC471DD52CE059343/image-size/large?v=v2&amp;amp;px=999" role="button" title="excel capture 5.PNG" alt="excel capture 5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;NOTE :&amp;nbsp;&lt;/STRONG&gt;We can chnage column sequence but all column header names needs to be same in order to chnage data source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will be helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regrds,&lt;/P&gt;&lt;DIV&gt;Ashwin Kulkarni&lt;FONT&gt;, BI Consultant&lt;BR /&gt;Nice Software Solutions,&lt;BR /&gt;Address: 21, IT Park, Wing – A, Ground Floor,&lt;BR /&gt;Gayatri Nagar, NAGPUR - 440022 (India)&lt;BR /&gt;Mobile: 0712 664 4575&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;Linked in group :&amp;nbsp;&lt;FONT&gt;&lt;A href="https://www.linkedin.com/groups/10483395/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/groups/10483395/&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Apr 2020 11:23:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Chnage-data-source-even-if-column-sequence-is-not-same/m-p/1004597#M3074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-02T11:23:28Z</dc:date>
    </item>
  </channel>
</rss>

