<?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: IF condition error, trying to get something similar to an IFS function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682200#M80368</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thanks for trying to help! With the function you just gave me I get the exact same error as I got when trying the IF &amp;amp; AND functions, which is:&lt;BR /&gt;A single value for column 'StageName' in table 'Opportunity' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what this error means. I'll try to formulate a function with a switch true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 15:25:47 GMT</pubDate>
    <dc:creator>Juanpablocl96</dc:creator>
    <dc:date>2022-08-04T15:25:47Z</dc:date>
    <item>
      <title>IF condition error, trying to get something similar to an IFS function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682119#M80363</link>
      <description>&lt;P&gt;I'm currently trying to get a measure that sets the value as 1 per row and sums them for every row in the Opportunity table that has an existing value in the column&amp;nbsp;fecha_de_admision__c, but the column&amp;nbsp;Fecha_de_inscrito__c must be empty and the column&amp;nbsp;StageName must not be "Descartado.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also tried to do an if statement using the function AND as well, but didn't work either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently using this formula:&lt;/P&gt;&lt;P&gt;Admitidos = (if(Opportunity[fecha_de_admision__c]&amp;lt;&amp;gt;blank(),if(Opportunity[Fecha_de_inscrito__c]=blank(),if(Opportunity[StageName]&amp;lt;&amp;gt;"Descartado",blank()),blank()),blank(),1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And getting this error:&lt;BR /&gt;Too many arguments were passed to the IF function. The maximum argument count for the function is 3.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 14:58:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682119#M80363</guid>
      <dc:creator>Juanpablocl96</dc:creator>
      <dc:date>2022-08-04T14:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition error, trying to get something similar to an IFS function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682151#M80365</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="421830" data-lia-user-login="Juanpablocl96" class="lia-mention lia-mention-user"&gt;Juanpablocl96&lt;/a&gt;&amp;nbsp;First, I would highly recommend that you convert this to a SWITCH(TRUE(),...) statement. Much cleaner. You likely have a syntax error where you are not ending an IF statement properly. You might want something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Admitidos = 
if(
    Opportunity[fecha_de_admision__c]&amp;lt;&amp;gt;blank(),
    if(Opportunity[Fecha_de_inscrito__c]=blank(),
      if(Opportunity[StageName]&amp;lt;&amp;gt;"Descartado",
        blank(),
        blank()
      ),
      blank()
    )
    ,1
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Aug 2022 15:10:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682151#M80365</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-04T15:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition error, trying to get something similar to an IFS function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682200#M80368</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thanks for trying to help! With the function you just gave me I get the exact same error as I got when trying the IF &amp;amp; AND functions, which is:&lt;BR /&gt;A single value for column 'StageName' in table 'Opportunity' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what this error means. I'll try to formulate a function with a switch true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 15:25:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682200#M80368</guid>
      <dc:creator>Juanpablocl96</dc:creator>
      <dc:date>2022-08-04T15:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition error, trying to get something similar to an IFS function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682379#M80383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="421830" data-lia-user-login="Juanpablocl96" class="lia-mention lia-mention-user"&gt;Juanpablocl96&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Admitidos =
IF (
    SELECTEDVALUE ( Opportunity[fecha_de_admision__c] ) &amp;lt;&amp;gt; BLANK ()
        &amp;amp;&amp;amp; SELECTEDVALUE ( Opportunity[Fecha_de_inscrito__c] ) = BLANK ()
        &amp;amp;&amp;amp; SELECTEDVALUE ( Opportunity[StageName] ) &amp;lt;&amp;gt; "Descartado",
    1
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Aug 2022 16:56:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-condition-error-trying-to-get-something-similar-to-an-IFS/m-p/2682379#M80383</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-04T16:56:12Z</dc:date>
    </item>
  </channel>
</rss>

