<?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: DAX Query in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584686#M74286</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;If dates in both the columns are exact same then I think you can directly calculate the difference between Telemetry columns subject to a active relationship between this 2 tables based on 'Time' Column.&lt;BR /&gt;&lt;BR /&gt;Create a measure as Difference=SUM(Table1[Telemetry])-SUM(Table2[Telemetry])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If this post helps, then mark it as&lt;STRONG&gt;&amp;nbsp;"Accept as Solution"&lt;/STRONG&gt;&amp;nbsp; and give it a thumbs up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 06:26:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-17T06:26:41Z</dc:date>
    <item>
      <title>DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584558#M74281</link>
      <description>&lt;P&gt;Hi ..I am new to DAX ... Pls help me.... I have to get the difference of values based on two entries of the same column &amp;amp; time. How can I get the&amp;nbsp; difference of &lt;STRONG&gt;Telemetry&lt;/STRONG&gt; values of SensorID 975425 &amp;amp; 975424 wrspt to time? TIA&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377293" data-lia-user-login="SpartaBI" class="lia-mention lia-mention-user"&gt;SpartaBI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 08:44:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584558#M74281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-17T08:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584686#M74286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;If dates in both the columns are exact same then I think you can directly calculate the difference between Telemetry columns subject to a active relationship between this 2 tables based on 'Time' Column.&lt;BR /&gt;&lt;BR /&gt;Create a measure as Difference=SUM(Table1[Telemetry])-SUM(Table2[Telemetry])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If this post helps, then mark it as&lt;STRONG&gt;&amp;nbsp;"Accept as Solution"&lt;/STRONG&gt;&amp;nbsp; and give it a thumbs up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 06:26:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584686#M74286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-17T06:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584696#M74287</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Thank you for your response. But I have only one table , where the SensorID field contains the values based on which I have to do the comparison.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 06:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584696#M74287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-17T06:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584702#M74288</link>
      <description>&lt;P&gt;Okay, then you can modify your measure a bit;&lt;BR /&gt;Difference=CALCULATE(SUM(Table[Telemetry]),Table[SensorID]="975425") -&amp;nbsp;CALCULATE(SUM(Table[Telemetry]),Table[SensorID]="975424").&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 06:34:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584702#M74288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-17T06:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584723#M74290</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;. This gives me the sum of value difference. I need to get the row wise difference as in figure 1 ,ie. 370.14-252.15=?, for each row.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 06:45:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2584723#M74290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-17T06:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2585128#M74320</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;in case I understood what you meant then if you use the measure that&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;sent you and put dates on the axis of the column you will get the differenct per each row in the table visual.&lt;BR /&gt;If you want to also see the values for each Sensor on the table you can also add 2 measures and them also to the table.&lt;BR /&gt;&lt;SPAN&gt;975425_Value = CALCULATE(SUM(Table[Telemetry]),Table[SensorID]="975425")&lt;BR /&gt;975424_Value = CALCULATE(SUM(Table[Telemetry]),Table[SensorID]="975424")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Contoso-by-SpartaBI/m-p/2449543" target="_blank" rel="noopener"&gt;&lt;FONT size="4" color="#0000EE"&gt;Showcase Report – Contoso By SpartaBI&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/company/spartabi" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt; &amp;nbsp;&amp;nbsp;&lt;A href="https://www.facebook.com/SpartaBI" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 09:02:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query/m-p/2585128#M74320</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-06-17T09:02:57Z</dc:date>
    </item>
  </channel>
</rss>

