<?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 Maximum nested if statements in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338024#M6530</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me what the maximum supported number of nested if statements is?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the parameter trick to allow users to select which variable to group by, it would be useful to know how many options I can give them, I have six currently and the calculated item formula is getting long, I want to ensure I dont stretch it too far&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7563i3B4ADA966EE3F26A/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="ifstatement.GIF" title="ifstatement.GIF" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2017 21:30:39 GMT</pubDate>
    <dc:creator>itchyeyeballs</dc:creator>
    <dc:date>2017-03-03T21:30:39Z</dc:date>
    <item>
      <title>Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338024#M6530</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me what the maximum supported number of nested if statements is?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the parameter trick to allow users to select which variable to group by, it would be useful to know how many options I can give them, I have six currently and the calculated item formula is getting long, I want to ensure I dont stretch it too far&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7563i3B4ADA966EE3F26A/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="ifstatement.GIF" title="ifstatement.GIF" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 21:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338024#M6530</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2017-03-03T21:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338455#M6539</link>
      <description>&lt;P&gt;I wrote the documentation for this part of the product and am not aware of any nesting limit. If there is a limit, I'll want to know about it so I can add it to the doc.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 14:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338455#M6539</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2017-03-06T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338456#M6540</link>
      <description>&lt;P&gt;Great thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will report back if I run into any issues&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 14:53:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338456#M6540</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2017-03-06T14:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338915#M6549</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;please consider using if then else with a blank as an 'not true' answer.&lt;/P&gt;&lt;P&gt;now you can catenate the all the ifthenelse answers and trim them to one answer.&lt;/P&gt;&lt;P&gt;no nested loops, a beter overview and an endles solution.&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 17:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338915#M6549</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2017-03-07T17:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338940#M6550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give a brief example?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 18:52:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/338940#M6550</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2017-03-07T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/339003#M6551</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;this one directly calculates the report value related to the selected unit from the button select.&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;&lt;P&gt;&lt;IMG title="07-03-2017 22-05-09.png" alt="07-03-2017 22-05-09.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7602iAB5F1269112CC329/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 21:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/339003#M6551</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2017-03-07T21:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/339049#M6552</link>
      <description>&lt;P&gt;That's a really interesting approach,&lt;BR /&gt;&lt;BR /&gt;I wouldn't have attempted it this way as I would have assumed that adding 0 would have resulted in issues, it makes the formula much more readable,&lt;BR /&gt;&lt;BR /&gt;I'll definitely test out switching to this syntax&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 23:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/339049#M6552</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2017-03-07T23:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum nested if statements</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/339105#M6554</link>
      <description>&lt;P&gt;Good to hear you have an alternative now.&lt;/P&gt;&lt;P&gt;Small advice, relate the buttonbar to a seperate table that only consists of the selectable options.&lt;/P&gt;&lt;P&gt;This way you are sure that you always have all of the options. Using a group field might give a problem here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, maybe its good to mark your request as solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings and good luck, &amp;nbsp; Peter&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 06:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Maximum-nested-if-statements/m-p/339105#M6554</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2017-03-08T06:26:20Z</dc:date>
    </item>
  </channel>
</rss>

