<?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: How to use if function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2574220#M73641</link>
    <description>&lt;P&gt;Hi, thank you so much ! it works from my side.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 07:29:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-13T07:29:12Z</dc:date>
    <item>
      <title>How to use if function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2565426#M73084</link>
      <description>&lt;P&gt;Hi everyone, may i know how can I code based on the below example&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my table, if the code that start with 'GAC' or 'KKKK',&amp;nbsp; it should be put as 'Contract' at the right column, else Non-contract&lt;/P&gt;&lt;P&gt;thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regard&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 03:54:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2565426#M73084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-08T03:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2565482#M73090</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could create a column as below:-&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Group = 
var _start_with  = MID('Table'[Code],1,4)
return IF(CONTAINSSTRING(_start_with,"GAC") || CONTAINSSTRING(_start_with,"KKKK"),"Contract","Non Contract")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Samarth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 05:17:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2565482#M73090</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-06-08T05:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2574220#M73641</link>
      <description>&lt;P&gt;Hi, thank you so much ! it works from my side.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:29:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-if-function/m-p/2574220#M73641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-13T07:29:12Z</dc:date>
    </item>
  </channel>
</rss>

