<?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: Need Help with blanks/Error in table visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4397318#M174591</link>
    <description>&lt;P&gt;Thanks for the reply from Sahir_Maharaj and&amp;nbsp;sangeethray_92, please allow me to provide another insight.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="924755" data-lia-user-login="Naveen_K_Gattu" class="lia-mention lia-mention-user"&gt;Naveen_K_Gattu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the following DAX.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Formula A = DIVIDE ( MAX ( 'Table'[Column2] ), MAX ( 'Table'[Column1] ) )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Formula B = DIVIDE ( MAX ( 'Table'[Column4] ), MAX ( 'Table'[Column3] ), "ERROR" )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Formula D = IFERROR ( ( [Formula A] - [Formula B] ) * MAX ( 'Table'[Column1] ), "ERROR" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final result is as follows. Hopefully it will meet your needs.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see the attached pbix for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 02:15:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-02-06T02:15:43Z</dc:date>
    <item>
      <title>Need Help with blanks/Error in table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4396027#M174531</link>
      <description>&lt;P&gt;I am converting an Excel report to Power BI. When I convert same formulas into DAX , some results are not similar to Excel.&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;&lt;P&gt;Excel returns #DIV/0! error but Power BI returns blanks, when I use result of &lt;STRONG&gt;Formula B&lt;/STRONG&gt; column in &lt;STRONG&gt;Formula D&lt;/STRONG&gt;, it considers blanks as 0 and returns 7 as result, but user expects me to show blank or error here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 09:35:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4396027#M174531</guid>
      <dc:creator>Naveen_K_Gattu</dc:creator>
      <dc:date>2025-02-05T09:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with blanks/Error in table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4396173#M174536</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="924755" data-lia-user-login="Naveen_K_Gattu" class="lia-mention lia-mention-user"&gt;Naveen_K_Gattu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this approach:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Formula A = DIVIDE(SELECTEDVALUE(Table[Column 2]), SELECTEDVALUE(Table[Column 1]))
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Formula B = DIVIDE(SELECTEDVALUE(Table[Column 4]), SELECTEDVALUE(Table[Column 3]))
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Formula D = IF(NOT(ISBLANK([Formula B])), ([Formula A] - [Formula B]) * SELECTEDVALUE(Table[Column 1]), BLANK())
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 Feb 2025 10:38:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4396173#M174536</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2025-02-05T10:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with blanks/Error in table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4396943#M174580</link>
      <description>&lt;P&gt;Can tou try this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Formula B =&lt;BR /&gt;IF(&lt;BR /&gt;ISBLANK([Column 3]) || [Column 3] = 0,&lt;BR /&gt;BLANK(),&lt;BR /&gt;[Column D] / [Column 3]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Formula D =&lt;BR /&gt;IF(&lt;BR /&gt;ISBLANK([Formula B]),&lt;BR /&gt;BLANK(),&lt;BR /&gt;([Column E] - [Formula B]) * [Column A]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post helps, then please give Kudos and consider Accept it as a solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 18:21:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4396943#M174580</guid>
      <dc:creator>sangeethray_92</dc:creator>
      <dc:date>2025-02-05T18:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with blanks/Error in table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4397318#M174591</link>
      <description>&lt;P&gt;Thanks for the reply from Sahir_Maharaj and&amp;nbsp;sangeethray_92, please allow me to provide another insight.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="924755" data-lia-user-login="Naveen_K_Gattu" class="lia-mention lia-mention-user"&gt;Naveen_K_Gattu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the following DAX.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Formula A = DIVIDE ( MAX ( 'Table'[Column2] ), MAX ( 'Table'[Column1] ) )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Formula B = DIVIDE ( MAX ( 'Table'[Column4] ), MAX ( 'Table'[Column3] ), "ERROR" )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Formula D = IFERROR ( ( [Formula A] - [Formula B] ) * MAX ( 'Table'[Column1] ), "ERROR" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final result is as follows. Hopefully it will meet your needs.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see the attached pbix for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 02:15:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4397318#M174591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-06T02:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with blanks/Error in table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4397771#M174609</link>
      <description>&lt;P&gt;I was using if (column = blank(),..) to solve it but it wasn't giving me the correct result, my measure had multiple conditions, so I used&amp;nbsp; VAR and few ISBLANK conditions and got the expected results.&lt;/P&gt;&lt;P&gt;its strange that BLANK and ISBLANK dax returns different results.&lt;/P&gt;&lt;P&gt;Thank you for the response!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 07:50:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Help-with-blanks-Error-in-table-visual/m-p/4397771#M174609</guid>
      <dc:creator>Naveen_K_Gattu</dc:creator>
      <dc:date>2025-02-06T07:50:39Z</dc:date>
    </item>
  </channel>
</rss>

