<?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 filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922215#M9130</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Divide% = Divide(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Calculate([Total Breached],filter(table,table[Key]&amp;lt;&amp;gt;"471"),[Count of Incidents]).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This says too few arguments were passed to the divide function. The minimum is 2?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Liam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Feb 2020 08:39:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-05T08:39:36Z</dc:date>
    <item>
      <title>Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/921437#M9102</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have a calculation of dividing a measure by a measure:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Breached % = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE([Total Breached],[Count of Incidents]) + 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I want to exclude a certain value that is attached to certain rows of data. What would the dax formula be for the divide but filter on the value?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Liam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Feb 2020 16:39:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/921437#M9102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T16:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/921461#M9104</link>
      <description>Divide(&lt;BR /&gt;Calculate([measure],filter(table,table[col]="value"),[measure2])&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Pravin&lt;BR /&gt;&lt;BR /&gt;If it resolves your problem mark it as a solution and give Kudos.</description>
      <pubDate>Tue, 04 Feb 2020 17:22:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/921461#M9104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T17:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922215#M9130</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Divide% = Divide(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Calculate([Total Breached],filter(table,table[Key]&amp;lt;&amp;gt;"471"),[Count of Incidents]).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This says too few arguments were passed to the divide function. The minimum is 2?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Liam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2020 08:39:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922215#M9130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T08:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922253#M9133</link>
      <description>&lt;P&gt;You have not closed bracket of calculate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Divide% = Divide(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Calculate([Total Breached],filter(table,table[Key]&amp;lt;&amp;gt;"471")),[Count of Incidents])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/pravin-p-wattamwar" target="_blank" rel="noopener"&gt;www.linkedin.com/in/pravin-p-wattamwar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If I resolve your problem Mark it as a solution and give kudos.&lt;/P&gt;&lt;P&gt;check my blog here&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Connecting-to-a-Tabular-Model-Using-Power-BI/ba-p/913784" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Community-Blog/Connecting-to-a-Tabular-Model-Using-Power-BI/ba-p/913784&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2020 09:00:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922253#M9133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T09:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922333#M9136</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou, it now accepts this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have both calculations next to each other in my matrix but the first divide displays all of the % as expected, but the new formula to filter out one of the rows, or display it as 0, displays blank on the whole column. Ive attached an image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;Would you have any idea why it displays like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Liam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 09:41:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922333#M9136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T09:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922381#M9139</link>
      <description>&lt;P&gt;debug your measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First check which measure is showing blank in divide and why.&lt;/P&gt;&lt;P&gt;Check is there any value other than 471 also check data type of column. you add 471 in (""). Hence it is taking it as string. 471 only for int.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/pravin-p-wattamwar" target="_blank"&gt;www.linkedin.com/in/pravin-p-wattamwar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If I resolve your problem Mark it as a solution and give kudos.&lt;/P&gt;&lt;P&gt;check my blog here&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Connecting-to-a-Tabular-Model-Using-Power-BI/ba-p/913784" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Connecting-to-a-Tabular-Model-Using-Power-BI/ba-p/913784&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 10:15:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922381#M9139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T10:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Divide filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922462#M9149</link>
      <description>&lt;P&gt;Thanks for your help with this&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;. After playing around with the formatting its managed to show up as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Liam&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 11:20:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-filter/m-p/922462#M9149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T11:20:59Z</dc:date>
    </item>
  </channel>
</rss>

