<?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: Division with multiple Filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4086889#M162223</link>
    <description>&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 14:05:01 GMT</pubDate>
    <dc:creator>jakenguyen02</dc:creator>
    <dc:date>2024-08-07T14:05:01Z</dc:date>
    <item>
      <title>Division with multiple Filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4071854#M161655</link>
      <description>&lt;P&gt;I've been trying to figure this out for the last few hours and don't know if it's possible. I have 3 audits and they look at different things. I want to divide the issue by the audit count of what is reviewed to get the actual error percentage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see my example below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This shows what's being audited per audit type.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;This is my expected output.&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;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:28:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4071854#M161655</guid>
      <dc:creator>jakenguyen02</dc:creator>
      <dc:date>2024-07-31T16:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Division with multiple Filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4072720#M161685</link>
      <description>&lt;P&gt;Hi @ &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.fabric.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F706592&amp;amp;data=05%7C02%7Cv-denglli%40microsoft.com%7C2ee12f4a4da04edfbbf608dcb1e3d49c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638580839292608078%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=kJakHI3R2kLbjOPFpheEqM7WUiHbbd%2F3QJs2728mpfs%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;jakenguyen02&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the data you provided, I created the following two tables.&lt;/P&gt;&lt;P&gt;Table1&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;Table2&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Table 1, add a calculated column (AT_count) to calculate the audit count for the row with an AuditType of Yes.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AT_count =

  VAR _AT1 = IF(Table1[Audit Type1] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  VAR _AT2 = IF(Table1[Audit Type2] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  VAR _AT3 = IF(Table1[Audit Type3] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  RETURN

  _AT1+_AT2+_AT3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Table 1, then add a calculated column Error Rate to calculate the actual error percentage.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error Rate = Table1[Issue Count]/Table1[AT_count]
&lt;/LI-CODE&gt;&lt;P&gt;You can then construct a visual object table that meets your goals.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dengliang Li&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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, 01 Aug 2024 05:34:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4072720#M161685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-01T05:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Division with multiple Filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4086889#M162223</link>
      <description>&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 14:05:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Division-with-multiple-Filters/m-p/4086889#M162223</guid>
      <dc:creator>jakenguyen02</dc:creator>
      <dc:date>2024-08-07T14:05:01Z</dc:date>
    </item>
  </channel>
</rss>

