<?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: Baseline Dax - extract data for each month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614239#M75892</link>
    <description>&lt;P&gt;I haven`t set a relationship. I just downloaded the data, two separate tables , they don`t interact with each other. I need to set a Dax to calculate that formula monthly. and then create a graph to show the values.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 12:41:44 GMT</pubDate>
    <dc:creator>Alexandra_B</dc:creator>
    <dc:date>2022-07-01T12:41:44Z</dc:date>
    <item>
      <title>Baseline Dax - extract data for each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2613908#M75877</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;I have a formula to calculate the baseline per month, I cannot figure out how to do it for each month, every month since July 21.&lt;/P&gt;&lt;P&gt;The formula is : &lt;U&gt;Baseline = number + number * (monthly HDD + monthly CDD)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice is welcomed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 09:50:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2613908#M75877</guid>
      <dc:creator>Alexandra_B</dc:creator>
      <dc:date>2022-07-01T09:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Baseline Dax - extract data for each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614014#M75881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394384" data-lia-user-login="Alexandra_B" class="lia-mention lia-mention-user"&gt;Alexandra_B&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the relationship between the two tables? How does your visual look like? What are you slicing by?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 10:36:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614014#M75881</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-01T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Baseline Dax - extract data for each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614239#M75892</link>
      <description>&lt;P&gt;I haven`t set a relationship. I just downloaded the data, two separate tables , they don`t interact with each other. I need to set a Dax to calculate that formula monthly. and then create a graph to show the values.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:41:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614239#M75892</guid>
      <dc:creator>Alexandra_B</dc:creator>
      <dc:date>2022-07-01T12:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Baseline Dax - extract data for each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614322#M75898</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394384" data-lia-user-login="Alexandra_B" class="lia-mention lia-mention-user"&gt;Alexandra_B&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=
VAR X = 10 --Insert correct value
VAR Y = 1.3 --Insert correctvalue
RETURN
    SUMX (
        VALUES ( CCD_18C[Month] ),
        --Use the column that you will be slicing by it
        VAR CurrentMonth = CCD_18C[Month]
        VAR CCDValue =
            CALCULATE ( SUM ( CCD_18C[CCD 18] ) )
        VAR HDDValue =
            CALCULATE ( SUM ( HDD_15C[HDD 15] ), HDD_15C[HMonth] = CurrentMonth )
        RETURN
            X + Y * ( CCDValue + HDDValue )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:15:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Baseline-Dax-extract-data-for-each-month/m-p/2614322#M75898</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-01T13:15:02Z</dc:date>
    </item>
  </channel>
</rss>

