<?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: Using two Datasets in power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3419816#M44324</link>
    <description>&lt;P&gt;Ideally, your dataset transformations should be done before you are working in your Power BI model.&amp;nbsp; Transform data as close to the data source as possible.&lt;BR /&gt;&lt;A href="https://ssbipolar.com/2021/05/31/roches-maxim/" target="_blank"&gt;Roche’s Maxim of Data Transformation – BI Polar (ssbipolar.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your original statement: "&lt;SPAN&gt;I have two datasets having same fields from two lists .. first list having current month data and the second one is having historical data&amp;nbsp;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are working with files, then you should use the Append functionality in Power Query to combine your datasets into one.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timahenning2_0-1694094522694.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/965855i637B76175C67D4CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timahenning2_0-1694094522694.png" alt="timahenning2_0-1694094522694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working with a database as your data source?&amp;nbsp; Create a database view to transform the data into one dataset (UNION) and then import into Power Query/Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Union requires the fields to be the "same" interface.&amp;nbsp; You can find the definiton of "same" in the DB service help files and examples.&amp;nbsp; It makes more sense when you see the examples.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 13:57:37 GMT</pubDate>
    <dc:creator>timahenning2</dc:creator>
    <dc:date>2023-09-07T13:57:37Z</dc:date>
    <item>
      <title>Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3414133#M44253</link>
      <description>&lt;P&gt;Hi Experts ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two datasets having same fields from two lists .. first list having current month data and the second one is having historical data ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we switch the datasets in the same powerbi Report . In brief , i need to have a check box(or any otherway) to select the current or history dataset and change the report figures accordingly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pls your advice on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;AD&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 15:26:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3414133#M44253</guid>
      <dc:creator>udayadeven</dc:creator>
      <dc:date>2023-09-04T15:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3414227#M44254</link>
      <description>&lt;P&gt;Have you thought about combining (union) the datasets into one table?&amp;nbsp; Your report and measures would point to one table.&amp;nbsp; Using a slicer, filtered by a field like date, you could then display current or historical data.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 16:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3414227#M44254</guid>
      <dc:creator>timahenning2</dc:creator>
      <dc:date>2023-09-04T16:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3419191#M44314</link>
      <description>&lt;P&gt;Hi Timahenning ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your advice ,.. yes , i am trying to use the UNION . but I a quick concern on this .. In my first dataset having new columns and Messures created thro PowerBI , Do i need to have the same things in second Dataset .. I tried to create but cannot use the same Messure name ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pls advice ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;AD&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 08:09:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3419191#M44314</guid>
      <dc:creator>udayadeven</dc:creator>
      <dc:date>2023-09-07T08:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3419816#M44324</link>
      <description>&lt;P&gt;Ideally, your dataset transformations should be done before you are working in your Power BI model.&amp;nbsp; Transform data as close to the data source as possible.&lt;BR /&gt;&lt;A href="https://ssbipolar.com/2021/05/31/roches-maxim/" target="_blank"&gt;Roche’s Maxim of Data Transformation – BI Polar (ssbipolar.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your original statement: "&lt;SPAN&gt;I have two datasets having same fields from two lists .. first list having current month data and the second one is having historical data&amp;nbsp;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are working with files, then you should use the Append functionality in Power Query to combine your datasets into one.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timahenning2_0-1694094522694.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/965855i637B76175C67D4CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timahenning2_0-1694094522694.png" alt="timahenning2_0-1694094522694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working with a database as your data source?&amp;nbsp; Create a database view to transform the data into one dataset (UNION) and then import into Power Query/Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Union requires the fields to be the "same" interface.&amp;nbsp; You can find the definiton of "same" in the DB service help files and examples.&amp;nbsp; It makes more sense when you see the examples.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 13:57:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3419816#M44324</guid>
      <dc:creator>timahenning2</dc:creator>
      <dc:date>2023-09-07T13:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3420844#M44339</link>
      <description>&lt;P&gt;Hi timahenning ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the advice .. I am using share Point Lists for this ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;AD&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 05:31:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3420844#M44339</guid>
      <dc:creator>udayadeven</dc:creator>
      <dc:date>2023-09-08T05:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3421727#M44352</link>
      <description>&lt;P&gt;AD, the concept is the same for SharePoint Lists.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Open Power Query and select the current SharePoint List table.&amp;nbsp; Choose Append Queries As New from the PQ menu bar.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timahenning2_2-1694181310121.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/966378i1CFC59B622990F42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timahenning2_2-1694181310121.png" alt="timahenning2_2-1694181310121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Select the tables like this to union the data in Power Query:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timahenning2_1-1694181191760.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/966373iB2306A588D3B2713/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timahenning2_1-1694181191760.png" alt="timahenning2_1-1694181191760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Your Power BI model should look something like this:&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="timahenning2_4-1694181671039.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/966382iAFAC97428EE2C04A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timahenning2_4-1694181671039.png" alt="timahenning2_4-1694181671039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. You can now view the current and historical data in your visualization by changing the way your filter the data.&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="timahenning2_5-1694181772215.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/966383i007A26E929EEF314/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timahenning2_5-1694181772215.png" alt="timahenning2_5-1694181772215.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Tim&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 14:04:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3421727#M44352</guid>
      <dc:creator>timahenning2</dc:creator>
      <dc:date>2023-09-08T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3424404#M44382</link>
      <description>&lt;P&gt;If I have provided a solution, would you mind a selecting the thumbs up?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 13:39:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3424404#M44382</guid>
      <dc:creator>timahenning2</dc:creator>
      <dc:date>2023-09-11T13:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using two Datasets in power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3425972#M44400</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;timahenning2&amp;nbsp; for your advice ..&amp;nbsp; I did it as you said .. its working as expected&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;rgds&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;AD&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Sep 2023 09:30:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-two-Datasets-in-power-BI/m-p/3425972#M44400</guid>
      <dc:creator>udayadeven</dc:creator>
      <dc:date>2023-09-12T09:30:37Z</dc:date>
    </item>
  </channel>
</rss>

