<?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: Single column formula for 2 options Complete and pending in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3564739#M137425</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654780" data-lia-user-login="Imran_1112" class="lia-mention lia-mention-user"&gt;Imran_1112&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Please provide some sample data in file.&lt;/P&gt;</description>
    <pubDate>Sun, 03 Dec 2023 06:01:20 GMT</pubDate>
    <dc:creator>databi_nerd</dc:creator>
    <dc:date>2023-12-03T06:01:20Z</dc:date>
    <item>
      <title>Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3563068#M137343</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help as i am new to Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To calculate % for in single column with text of (Complete and Pending) by using slicer, click on pending on slicer will give % for pending, when click on complete will give % for complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 12:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3563068#M137343</guid>
      <dc:creator>Imran_1112</dc:creator>
      <dc:date>2023-12-01T12:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3563087#M137346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654780" data-lia-user-login="Imran_1112" class="lia-mention lia-mention-user"&gt;Imran_1112&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Can you please share some sample data or if possible the .pdix file with required logic?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 13:03:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3563087#M137346</guid>
      <dc:creator>databi_nerd</dc:creator>
      <dc:date>2023-12-01T13:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3563146#M137348</link>
      <description>&lt;P&gt;Hi, Thanks for your reply,&lt;/P&gt;&lt;P&gt;Below is the text sample of few in that column containing 87 Rows in real, screenshot in below has the slicer for pending, complete and gauge. My aim is when i click on complete values will show on gauge as well as will show the percentage for completed, in other way when i select pending on slicer, it will reflect value on gauge and shows pending percentage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help if its possible. Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;RFS&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&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;</description>
      <pubDate>Fri, 01 Dec 2023 13:34:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3563146#M137348</guid>
      <dc:creator>Imran_1112</dc:creator>
      <dc:date>2023-12-01T13:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3564739#M137425</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654780" data-lia-user-login="Imran_1112" class="lia-mention lia-mention-user"&gt;Imran_1112&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Please provide some sample data in file.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2023 06:01:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3564739#M137425</guid>
      <dc:creator>databi_nerd</dc:creator>
      <dc:date>2023-12-03T06:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3565260#M137448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654780" data-lia-user-login="Imran_1112" class="lia-mention lia-mention-user"&gt;Imran_1112&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Below is my table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The following DAX might work for you:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
   COUNT('Table'[RFS])/18&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;The final output is shown in the following figure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 02:52:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3565260#M137448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-04T02:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3567686#M137543</link>
      <description>&lt;P&gt;Dear Xianda Tang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, Its working well but i need to update total count every time when there is new site added. In your formula /18 has to be change every time when i upload new row or the row count increase.&lt;/P&gt;&lt;P&gt;Is there any way where it counts automatically the total rows (in this case 18) instead of putting manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;PRE&gt;COUNT('Table'[RFS])/18&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 06:14:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3567686#M137543</guid>
      <dc:creator>Imran_1112</dc:creator>
      <dc:date>2023-12-05T06:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3567708#M137544</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="654780" data-lia-user-login="Imran_1112" class="lia-mention lia-mention-user"&gt;Imran_1112&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I believe the below measure logic will work for you and it's a dynamic logic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure Logic = 
VAR __AllCount =
    CALCULATE ( COUNT ( Data[RFS] ), REMOVEFILTERS ( Data[RFS] ) )
VAR __Count =
    COUNT ( Data[RFS] )
RETURN
    DIVIDE ( __Count, __AllCount )&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&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;If I resolve your issue please accept it as solution.&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 06:30:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3567708#M137544</guid>
      <dc:creator>databi_nerd</dc:creator>
      <dc:date>2023-12-05T06:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Single column formula for 2 options Complete and pending</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3569835#M137636</link>
      <description>&lt;P&gt;Thank you very much, it worked what i was looking for. You are amazing man.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for every 1 who tried to support me.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 06:25:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Single-column-formula-for-2-options-Complete-and-pending/m-p/3569835#M137636</guid>
      <dc:creator>Imran_1112</dc:creator>
      <dc:date>2023-12-06T06:25:19Z</dc:date>
    </item>
  </channel>
</rss>

