<?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 To check a categorical column with conditions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-check-a-categorical-column-with-conditions/m-p/3127546#M111144</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to create a dax query to calculate count of closed tickets, closed_successfully or closed_cancelled are two categories in ticket state&lt;/P&gt;&lt;P&gt;i want to check like&lt;/P&gt;&lt;P&gt;if(ticket state)=="Closed_Successfully" or if(ticket state)=="closed_cancelled":&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;closed_ticket=count(tickets)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to write a dax expression to get number of closed tickets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 09:56:34 GMT</pubDate>
    <dc:creator>Bu__</dc:creator>
    <dc:date>2023-03-13T09:56:34Z</dc:date>
    <item>
      <title>To check a categorical column with conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-check-a-categorical-column-with-conditions/m-p/3127546#M111144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to create a dax query to calculate count of closed tickets, closed_successfully or closed_cancelled are two categories in ticket state&lt;/P&gt;&lt;P&gt;i want to check like&lt;/P&gt;&lt;P&gt;if(ticket state)=="Closed_Successfully" or if(ticket state)=="closed_cancelled":&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;closed_ticket=count(tickets)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to write a dax expression to get number of closed tickets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 09:56:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-check-a-categorical-column-with-conditions/m-p/3127546#M111144</guid>
      <dc:creator>Bu__</dc:creator>
      <dc:date>2023-03-13T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: To check a categorical column with conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-check-a-categorical-column-with-conditions/m-p/3127585#M111151</link>
      <description>&lt;P&gt;MEASURE = COUNTX(FILTER(tickets,tickets[ticket state] IN {"Closed_Successfully", "closed_cancelled"}),"a column like ID")&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 10:16:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-check-a-categorical-column-with-conditions/m-p/3127585#M111151</guid>
      <dc:creator>andhiii079845</dc:creator>
      <dc:date>2023-03-13T10:16:34Z</dc:date>
    </item>
  </channel>
</rss>

