<?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: Divide Function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378472#M61373</link>
    <description>&lt;P&gt;Hi tamer&lt;BR /&gt;thank you for answering, the problem is still the same M the other thing is&amp;nbsp; m and b are measures not columns&lt;BR /&gt;Here the power Bi file I hope you yook take a look at it , specially the customer table and the regression table&lt;BR /&gt;&lt;A title="this power Pi file I hore you have a look in it " href="https://bit.ly/3pzNo5r" target="_self"&gt;https://bit.ly/3pzNo5r&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2022 11:03:48 GMT</pubDate>
    <dc:creator>Sheref_Morad</dc:creator>
    <dc:date>2022-03-07T11:03:48Z</dc:date>
    <item>
      <title>Divide Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2377079#M61295</link>
      <description>&lt;P&gt;I am trying to create a calculated column in the customer table for predicted customer incomes using the divide Function and gives me a Blank column, although the formula is correct &lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 15:40:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2377079#M61295</guid>
      <dc:creator>Sheref_Morad</dc:creator>
      <dc:date>2022-03-06T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Divide Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2377173#M61301</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="364325" data-lia-user-login="Sheref_Morad" class="lia-mention lia-mention-user"&gt;Sheref_Morad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess you have One to One relationship between the customer table and the regression table. In this case I think you've missed to wrap column [b] and column [m] with RELATED function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 18:21:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2377173#M61301</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-06T18:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Divide Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378472#M61373</link>
      <description>&lt;P&gt;Hi tamer&lt;BR /&gt;thank you for answering, the problem is still the same M the other thing is&amp;nbsp; m and b are measures not columns&lt;BR /&gt;Here the power Bi file I hope you yook take a look at it , specially the customer table and the regression table&lt;BR /&gt;&lt;A title="this power Pi file I hore you have a look in it " href="https://bit.ly/3pzNo5r" target="_self"&gt;https://bit.ly/3pzNo5r&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 11:03:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378472#M61373</guid>
      <dc:creator>Sheref_Morad</dc:creator>
      <dc:date>2022-03-07T11:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Divide Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378586#M61382</link>
      <description>&lt;P&gt;Adding columns to the customer table which simply calculate [b] and [m] both return blank results, hence the blank result in your divide formula. You can use CALCULATE( [b], REMOVEFILTERS('Customer List')), which returns a value, but without a deep understanding of your model I don't know if there are only specific columns on Customer List which should have filters removed, or if there are other filters on other tables which should be removed.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 12:24:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378586#M61382</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-07T12:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Divide Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378812#M61391</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="364325" data-lia-user-login="Sheref_Morad" class="lia-mention lia-mention-user"&gt;Sheref_Morad&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Here is your fil with the solution&amp;nbsp;&lt;A href="https://www.dropbox.com/t/CChylr4UPd28RtxH" target="_blank"&gt;https://www.dropbox.com/t/CChylr4UPd28RtxH&lt;/A&gt;&lt;BR /&gt;Measures are automatically wrapped with CALCULATE which forces context transition. On the other hand using the formulas directly will be extremely complicated. Therefore, use can do the following:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Predicted Income = 
    Divide (  
        RELATED ( 'Regression Table'[y] ) - CALCULATE ( [b], ALL ( 'Regression Table' ) ), 
        CALCULATE ( [m], ALL ( 'Regression Table' ) )
    )&lt;/LI-CODE&gt;&lt;P&gt;This shall solve your problem.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 13:53:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2378812#M61391</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-07T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Divide Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2971505#M99329</link>
      <description>&lt;P&gt;Hello, I have the same problem. Even though I placed the correct formula the values are wrong.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 17:12:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-Function/m-p/2971505#M99329</guid>
      <dc:creator>mem</dc:creator>
      <dc:date>2022-12-15T17:12:47Z</dc:date>
    </item>
  </channel>
</rss>

