<?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 Equations in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648387#M77992</link>
    <description>&lt;P&gt;Ok I'll update the original solution with some screenshots. Just give me some time to open my computer.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 17:45:51 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-07-19T17:45:51Z</dc:date>
    <item>
      <title>Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2646780#M77886</link>
      <description>&lt;P&gt;Hello fellow community,&lt;/P&gt;&lt;P&gt;Kindly help to solve the below problem;&lt;/P&gt;&lt;P&gt;Consider the tables below, they are implementation tracking reports for 3 quarters in FY 22.&lt;/P&gt;&lt;P&gt;I would like to achieve the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a measure called "Weighted Implementation" in percentage in each quarter i.e. considering the following:&lt;UL&gt;&lt;LI&gt;Each issue with "Closed" [Implementation Status] = 1 (i.e. the weight = Number of closed Issues * 1), "Partially Implemented"&amp;nbsp;[Implementation Status] =0.5 (i.e. the weight =Number of Partially Implemented Issues * 0.5),&amp;nbsp;"Open" [Implementation Status] = 0 (i.e. the weight = Number of Open Issues * 0)&lt;/LI&gt;&lt;LI&gt;To compute the Weighted Implemetation Percentage, divide:&amp;nbsp; Numerator= (Number of closed Issues *1 + No of Partially Implemented Issues * 0.5),&amp;nbsp;Denominator = Total number of Issues i.e. count of the Unique references without any weighting, e.g. Total number of issues in FY22 Q1 =4, FY22Q3=6&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;A line and clustered column chart showing the [Weighted Implemetation] percentage as the secondary Y axis line chart for FY22Q3 and the immediate previous 2 quarters, X axis indicating the [Office] and Y axis indicating Number of "Open Issues".&lt;/LI&gt;&lt;LI&gt;Clustered column chart showing the trend of the [Weighted Implemetation] percentage for the 3 quarters in FY22 for the various [Office]s.&lt;/LI&gt;&lt;LI&gt;Note the below facts:&lt;UL&gt;&lt;LI&gt;The [Implementation Status] changes over time (from Quarter to quarter) as reflected in the tables below for some of&amp;nbsp; the issues being tracked.&lt;/LI&gt;&lt;LI&gt;New Issues are added over time (&lt;EM&gt;Ideally the old issues can be dropped when they are too old depending on policy, in this example lets assume the issues are yet to be dropped&lt;/EM&gt;)&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/377293" target="_blank"&gt;@SpartaBI&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;FY22Q1 Report&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Unique Issue Tracking Ref.&lt;/TD&gt;&lt;TD&gt;Quarter the Issue was raised&lt;/TD&gt;&lt;TD&gt;Implementation Status&lt;/TD&gt;&lt;TD&gt;Office&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;FY21Q1&lt;/TD&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;TD&gt;Armenia&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;124&lt;/TD&gt;&lt;TD&gt;FY21Q3&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;TD&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t;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;TD&gt;Armenia&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;124&lt;/TD&gt;&lt;TD&gt;FY21Q3&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;TD&gt;Sri Lanka&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;125&lt;/TD&gt;&lt;TD&gt;FY22Q1&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;TD&gt;Senegal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;126&lt;/TD&gt;&lt;TD&gt;FY22Q2&lt;/TD&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;TD&gt;Ecuardo&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;127&lt;/TD&gt;&lt;TD&gt;FY22Q3&lt;/TD&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;TD&gt;Armenia&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;128&lt;/TD&gt;&lt;TD&gt;FY22Q4&lt;/TD&gt;&lt;TD&gt;Partially Implemeted&lt;/TD&gt;&lt;TD&gt;Ecuardo&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 19 Jul 2022 07:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2646780#M77886</guid>
      <dc:creator>hosea_chumba</dc:creator>
      <dc:date>2022-07-19T07:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2647192#M77896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407403" data-lia-user-login="hosea_chumba" class="lia-mention lia-mention-user"&gt;hosea_chumba&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to the sample file with the proposed solution&amp;nbsp;&lt;A href="https://www.dropbox.com/t/0yKTjmbzDXqrfUv6" target="_blank" rel="noopener"&gt;https://www.dropbox.com/t/0yKTjmbzDXqrfUv6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Weighted Implementation = 
DIVIDE (
    SUMX (
        SUMMARIZE ( 
            'Compiled Report', 
            'Compiled Report'[Unique Issue Tracking Ref.], 
            'Compiled Report'[Implementation Status] 
        ),
        CALCULATE ( 
            SELECTEDVALUE ( Weightages[Weight] ), 
            CROSSFILTER ( 'Compiled Report'[Implementation Status], Weightages[Status], Both ) 
        )
    ),
    DISTINCTCOUNT ( 'Compiled Report'[Unique Issue Tracking Ref.] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 18:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2647192#M77896</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-19T18:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648238#M77979</link>
      <description>&lt;P&gt;Thanks so much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, did you use a formula to add the&amp;nbsp; [Report Quarter] column for the respective quarters taking into consideration that it is large data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:11:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648238#M77979</guid>
      <dc:creator>hosea_chumba</dc:creator>
      <dc:date>2022-07-19T16:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648260#M77980</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407403" data-lia-user-login="hosea_chumba" class="lia-mention lia-mention-user"&gt;hosea_chumba&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Actually yes. I assumed that this is the case of your model. Otherwise why would you keep them in separate tables and add a new table every new quarter? I know saving one column is a good idea but sometimes you need to do the math.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:21:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648260#M77980</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-19T16:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648269#M77982</link>
      <description>&lt;P&gt;You assumed right &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, how did you add the the &lt;SPAN&gt;[Report Quarter]&lt;/SPAN&gt;column for each quarter?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:28:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648269#M77982</guid>
      <dc:creator>hosea_chumba</dc:creator>
      <dc:date>2022-07-19T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648300#M77986</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407403" data-lia-user-login="hosea_chumba" class="lia-mention lia-mention-user"&gt;hosea_chumba&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actully I did that manually in power powery for each table separately. You can see the code in the sample file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:58:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648300#M77986</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-19T16:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648381#M77991</link>
      <description>&lt;P&gt;The formula is not showing, any other way of handling it?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 17:41:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648381#M77991</guid>
      <dc:creator>hosea_chumba</dc:creator>
      <dc:date>2022-07-19T17:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648387#M77992</link>
      <description>&lt;P&gt;Ok I'll update the original solution with some screenshots. Just give me some time to open my computer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 17:45:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648387#M77992</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-19T17:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Equations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648472#M77998</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="407403" data-lia-user-login="hosea_chumba" class="lia-mention lia-mention-user"&gt;hosea_chumba&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please check the updates in the original reply&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 18:32:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Equations/m-p/2648472#M77998</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-19T18:32:01Z</dc:date>
    </item>
  </channel>
</rss>

