<?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 calculation for factor correction in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769879#M86188</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="442122" data-lia-user-login="gregers1972" class="lia-mention lia-mention-user"&gt;gregers1972&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm still trying to guess. Please provide the full picture so that I can understand the requirement. How many tables are invloved in this? What are the relationships?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 09:26:33 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-15T09:26:33Z</dc:date>
    <item>
      <title>DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2768988#M86111</link>
      <description>&lt;P&gt;Good Morning&lt;BR /&gt;I have a small issue with some data, where they need to be rescaled as follows. Lets say we have a pressure value p_i (i = 1 - n) and I need to scaled this as : p_i_scaled = (p_i / 32768) * 500, which is pretty straigtforward.&lt;BR /&gt;&lt;BR /&gt;The data are organised row-wise:&lt;/P&gt;&lt;P&gt;Parameters&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Value&lt;BR /&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2022-09-15 13:22:02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;345.3&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2022-09-15 13:22:07&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;255.5&lt;/P&gt;&lt;P&gt;C...&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2022-09-15 13:22:12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 37.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I select parameter A's corresponding value for each time point and scale this accordingly.&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated, thanks&lt;/P&gt;&lt;P&gt;Gregers&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 05:18:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2768988#M86111</guid>
      <dc:creator>gregers1972</dc:creator>
      <dc:date>2022-09-15T05:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769237#M86123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="442122" data-lia-user-login="gregers1972" class="lia-mention lia-mention-user"&gt;gregers1972&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide an illustrative example&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 06:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769237#M86123</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769416#M86139</link>
      <description>&lt;P&gt;I hope you mean on the data, they are as shown here for 3 series with 5 parameters and values.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;VarName&lt;/TD&gt;&lt;TD&gt;TimeString&lt;/TD&gt;&lt;TD&gt;VarValue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:03&lt;/TD&gt;&lt;TD&gt;1395&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:03&lt;/TD&gt;&lt;TD&gt;6470&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:03&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:03&lt;/TD&gt;&lt;TD&gt;216&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:03&lt;/TD&gt;&lt;TD&gt;15815&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:08&lt;/TD&gt;&lt;TD&gt;1393&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:08&lt;/TD&gt;&lt;TD&gt;6630&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:08&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:08&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:08&lt;/TD&gt;&lt;TD&gt;15809&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:13&lt;/TD&gt;&lt;TD&gt;1389&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:13&lt;/TD&gt;&lt;TD&gt;6730&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:13&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:13&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;03/05/2022 10:00:13&lt;/TD&gt;&lt;TD&gt;15806&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 15 Sep 2022 07:33:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769416#M86139</guid>
      <dc:creator>gregers1972</dc:creator>
      <dc:date>2022-09-15T07:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769421#M86140</link>
      <description>&lt;P&gt;The first datatable was not so easy to read but here again with 3 series and 5 parameters and values.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 07:35:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769421#M86140</guid>
      <dc:creator>gregers1972</dc:creator>
      <dc:date>2022-09-15T07:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769524#M86155</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="442122" data-lia-user-login="gregers1972" class="lia-mention lia-mention-user"&gt;gregers1972&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I was talking about the expected results. Please illustrate with an example calculation&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 08:04:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769524#M86155</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T08:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769556#M86159</link>
      <description>&lt;P&gt;For the first row with p_i = 345.3 the calculation is:&lt;/P&gt;&lt;P&gt;p_i_corrected = (345.3 / 32768) * 500 = 5.27&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 08:11:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769556#M86159</guid>
      <dc:creator>gregers1972</dc:creator>
      <dc:date>2022-09-15T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769700#M86169</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="442122" data-lia-user-login="gregers1972" class="lia-mention lia-mention-user"&gt;gregers1972&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if I correctly understand but you may create a new calculated column&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;500 *&amp;nbsp;&lt;/SPAN&gt;'Table'[VarValue] /&amp;nbsp;&lt;SPAN&gt;32768&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 08:48:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769700#M86169</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T08:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769852#M86184</link>
      <description>&lt;P&gt;Thanks and thought the actual calculation would be like this. The trick is that there are several values in multiple rows for the same parameter e.g. A for different timepoints, which must be selected and corrected individually.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:19:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769852#M86184</guid>
      <dc:creator>gregers1972</dc:creator>
      <dc:date>2022-09-15T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769879#M86188</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="442122" data-lia-user-login="gregers1972" class="lia-mention lia-mention-user"&gt;gregers1972&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm still trying to guess. Please provide the full picture so that I can understand the requirement. How many tables are invloved in this? What are the relationships?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769879#M86188</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T09:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769936#M86190</link>
      <description>&lt;P&gt;It is only a single table.&amp;nbsp; In the data table shown earlier, there is an "A" row in "VarName" with multiple entries with different "timestring" and each "VarValue" (row wise) I need to correct them differently than e.g. "B"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select_VarValue = select(VarValue), from Table(VarName(A)) #Maybe need to loop over all A's&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select_VarValue = &lt;SPAN&gt;500 *&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Select_VarValue] /&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;32768&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:38:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769936#M86190</guid>
      <dc:creator>gregers1972</dc:creator>
      <dc:date>2022-09-15T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX calculation for factor correction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769977#M86194</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="442122" data-lia-user-login="gregers1972" class="lia-mention lia-mention-user"&gt;gregers1972&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUMX ( 'Table',&amp;nbsp;&lt;SPAN&gt;500 *&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[VarValue] /&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;32768 )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:54:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-calculation-for-factor-correction/m-p/2769977#M86194</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T09:54:40Z</dc:date>
    </item>
  </channel>
</rss>

