<?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: Condition &amp;amp; Counts in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254456#M54398</link>
    <description>&lt;P&gt;I need to dispaly in the graph.&lt;/P&gt;&lt;P&gt;Table is exsited.&amp;nbsp; Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Dec 2021 00:01:01 GMT</pubDate>
    <dc:creator>sdhn</dc:creator>
    <dc:date>2021-12-24T00:01:01Z</dc:date>
    <item>
      <title>Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254420#M54390</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the two columns from my source table "Table A"&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;1)&lt;/P&gt;&lt;DIV&gt;If Column F = Not Assessed or Blank = Not Assessed&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;If Column F = Yes or No = Assessed&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2)&lt;/DIV&gt;&lt;DIV&gt;I need total counts of all values listed in the Column "D".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Counts F = &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED in "NON APPLICABLE","PENDING',"SCHEDULED", "WORKAROUND", "PATCHED"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Col F&lt;/SPAN&gt;&lt;SPAN&gt;))-&lt;/SPAN&gt;&lt;SPAN&gt;1&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;Not working,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I will show output on graphs. I need to write measure, any help will be appreciated.&amp;nbsp; Thanks&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 23:34:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254420#M54390</guid>
      <dc:creator>sdhn</dc:creator>
      <dc:date>2021-12-23T23:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254424#M54391</link>
      <description>&lt;P&gt;For number 2, i can get total counts of rows from below:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Counts Status = &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE A'[D]&lt;/SPAN&gt;&lt;SPAN&gt;))-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But I want for indiviual values as:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp; Please note:&lt;/P&gt;&lt;P&gt;Column values are in sentensec for each rows.&lt;/P&gt;&lt;P&gt;In each sentense either&amp;nbsp;pending , scheduled , patched, workaround &amp;amp; nonapplicable is used.&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Dec 2021 23:31:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254424#M54391</guid>
      <dc:creator>sdhn</dc:creator>
      <dc:date>2021-12-23T23:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254427#M54392</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="136873" data-lia-user-login="sdhn" class="lia-mention lia-mention-user"&gt;sdhn&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you post sample data as &lt;STRONG&gt;text&lt;/STRONG&gt; and expected output?&lt;BR /&gt;&lt;BR /&gt;please see this post regarding How to Get Your Question Answered Quickly:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;The most important parts are:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;BR /&gt;4. Relation between your tables&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;LinkedIn:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 23:33:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254427#M54392</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-12-23T23:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254451#M54396</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Column F&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&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;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt;If Column F = Not Assessed or Blank = Not Assessed&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;If Column F = Yes or No = Assessed&lt;/DIV&gt;&lt;DIV&gt;I have my existing code but not getting values as above.&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Your help will be appreciated&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thats I need it. Thanks&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Dec 2021 23:55:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254451#M54396</guid>
      <dc:creator>sdhn</dc:creator>
      <dc:date>2021-12-23T23:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254455#M54397</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="136873" data-lia-user-login="sdhn" class="lia-mention lia-mention-user"&gt;sdhn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Column =
SWITCH(
    TRUE(),
    [Column F] = "NOT ASSESSED"
        || [Column F] = BLANK(), "NOT ASSESSED",
    [Column F] = "YES"
        || [Column F] = "NO", "ASSESSED"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 23:59:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254455#M54397</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-12-23T23:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254456#M54398</link>
      <description>&lt;P&gt;I need to dispaly in the graph.&lt;/P&gt;&lt;P&gt;Table is exsited.&amp;nbsp; Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 00:01:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254456#M54398</guid>
      <dc:creator>sdhn</dc:creator>
      <dc:date>2021-12-24T00:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254466#M54399</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;column has created&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to display counts in the graph by values ? Total counts of Assesssed &amp;amp; Non Assessed?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 00:15:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254466#M54399</guid>
      <dc:creator>sdhn</dc:creator>
      <dc:date>2021-12-24T00:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Condition &amp; Counts</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254493#M54400</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="136873" data-lia-user-login="sdhn" class="lia-mention lia-mention-user"&gt;sdhn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download this file:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gofile.io/d/9GknaC" target="_blank"&gt;https://gofile.io/d/9GknaC&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 00:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Condition-amp-Counts/m-p/2254493#M54400</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-12-24T00:45:15Z</dc:date>
    </item>
  </channel>
</rss>

