<?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: Two Fact Tables Nightmare - Calling all Power BI Gurus in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511354#M69666</link>
    <description>&lt;P&gt;These types of solutions are hard to decipher without seeing the data model but to build on Amitchandak's suggestion, it's likely you'll need to adjust your calculations to leverage the dates from the common date table introduced. I had a situation where I had running totals on the fact table but when I introduced a date table that will enabled me change the axis to years or months or days, had to adjust my running total metrics to work off the new date table to get things to work properly.&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 17:56:01 GMT</pubDate>
    <dc:creator>datawailor</dc:creator>
    <dc:date>2022-05-12T17:56:01Z</dc:date>
    <item>
      <title>Two Fact Tables Nightmare - Calling all Power BI Gurus</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511139#M69654</link>
      <description>&lt;P&gt;I'll be refreshing this page every minute in hopes that a Power BI Guru can save my project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was given a Historical-Current Fact Table, we will call this TABLE 1, where they wanted a plethera of measures that analyzed trend in multiple areas. Example would be like Total Sales - Easy to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was then asked to make a Forecast Table out of Dax, we will call this TABLE 2. This table had only had one column - Years. Under this column, were 3 rows "2023, 2024,2025". Easy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this Forecast Table, they asked for me to make measures that forecasted what the future trend would be based applying on what paramters on the Current Year.&amp;nbsp; This was doable.&amp;nbsp; I was able to apply CAGR based on the Current data provided in TABLE 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each table has it's own measures for things like, total sales, total product, ect. Now, I'm being asked to Create a 3rd Table, a Date Table, for the specific use of displaying Table 1 and Table 2 data together. Pictures below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I tried Using UNION to combine the 2 Fact tables, not working. Can someone please help me? PLEASE NOTE.. TABLE 1 "HIST SALES" IS A MEASURE, AND TABLE 2 PROJECTED SALES IS A MEASURE...I'M HOPING THAT IT'S POSSIBLE TO ACHIEVE TABLE 3 TO SHOW RUNNING TOTALS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 16:30:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511139#M69654</guid>
      <dc:creator>7ballp25</dc:creator>
      <dc:date>2022-05-12T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Tables Nightmare - Calling all Power BI Gurus</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511244#M69659</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="387098" data-lia-user-login="7ballp25" class="lia-mention lia-mention-user"&gt;7ballp25&lt;/a&gt; , Create a common date table with required columns and join that with both tables &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and now create a measure&lt;/P&gt;
&lt;P&gt;Sum(Table[Hist Sales]) + Sum(Table2[projected Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use them with columns of common date table&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 17:12:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511244#M69659</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-12T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Tables Nightmare - Calling all Power BI Gurus</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511302#M69663</link>
      <description>&lt;P&gt;Thanks, but already tried. Again, Consider "Forecast Table" as a table that only has dates in it, and the forecast data is based on measures and what if parameters applied to Current year data. Even when i did create more columns for Forecast Table to Union with the historcal table... it wouldnt provide correct data... it would show totals in every row... not showing the distinct values of the measures in each row.&amp;nbsp;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 17:27:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511302#M69663</guid>
      <dc:creator>7ballp25</dc:creator>
      <dc:date>2022-05-12T17:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Tables Nightmare - Calling all Power BI Gurus</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511354#M69666</link>
      <description>&lt;P&gt;These types of solutions are hard to decipher without seeing the data model but to build on Amitchandak's suggestion, it's likely you'll need to adjust your calculations to leverage the dates from the common date table introduced. I had a situation where I had running totals on the fact table but when I introduced a date table that will enabled me change the axis to years or months or days, had to adjust my running total metrics to work off the new date table to get things to work properly.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 17:56:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Fact-Tables-Nightmare-Calling-all-Power-BI-Gurus/m-p/2511354#M69666</guid>
      <dc:creator>datawailor</dc:creator>
      <dc:date>2022-05-12T17:56:01Z</dc:date>
    </item>
  </channel>
</rss>

