<?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: IFS expression not returning expected result in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313307#M48396</link>
    <description>&lt;P&gt;Thanks Barry&lt;BR /&gt;&lt;BR /&gt;Yeah, something like that might work, the values aren't truly blank as they have a "-", by default. But for the first 3 properties I could have an IF to the effect of if it's "-" show nothing [ ("") ?] but if it's populated then show the value.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 01:54:13 GMT</pubDate>
    <dc:creator>Josh Verran</dc:creator>
    <dc:date>2021-10-28T01:54:13Z</dc:date>
    <item>
      <title>IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/310974#M48274</link>
      <description>&lt;P&gt;I have an expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-10-21 155904.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/7104iD38B403AC0965186/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-21 155904.png" alt="Screenshot 2021-10-21 155904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am intended to use in an interactive schedule (Floor plan KEY), if an element has a description entered then show that, if not shows the name, if the name is blank as well (-) then show the complex profile name, if it's not a complex profile then show the composite name etc.&lt;/P&gt;&lt;P&gt;What I'm getting thou is "---" apart from the complex profile.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-10-21 160243.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/7105i2F7B62D98F38D665/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-21 160243.png" alt="Screenshot 2021-10-21 160243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I haven't finished yet so I know the composite isn't showing up, but I would have thought the names and descriptions would show up.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 03:04:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/310974#M48274</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-21T03:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/310988#M48275</link>
      <description>&lt;P&gt;A item that you might want to check. If are getting --- results, that can mean that one or more attributed in your IFS statement is not applicable to your element. It does not matter if that attribute can not be reached, Any inappropriate attribute will invalidate the whole clause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A workaround is to break up your statement into separate sequences. Archicad will use the first one that is appropriate.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 05:11:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/310988#M48275</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2021-10-21T05:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311071#M48280</link>
      <description>&lt;P&gt;Ah, thanks Gerry, that will be it.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 18:24:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311071#M48280</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-21T18:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311083#M48281</link>
      <description>&lt;P&gt;I've checked and altered slightly but still not getting the desired result.&lt;/P&gt;&lt;P&gt;The Property references two properties that I have created (ie Name/type, Description) both of these are available for all classifications.&lt;/P&gt;&lt;P&gt;I have added these as two separate lines in the expression.&lt;/P&gt;&lt;P&gt;Underneath those I have entered the built in paramater for complex profile, composite etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a quick screen recording which you can see below, hopefully this my shine some light on what I'm getting wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/Dl8yBDdslJE" target="_blank" rel="noopener"&gt;https://youtu.be/Dl8yBDdslJE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDl8yBDdslJE&amp;amp;type=text%2Fhtml&amp;amp;schema=google&amp;amp;display_name=YouTube&amp;amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FDl8yBDdslJE" width="600" height="337" scrolling="no" title="YouTube embed" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 18:55:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311083#M48281</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-21T18:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311088#M48283</link>
      <description>&lt;P&gt;What I'm hoping for is if a staff member draws an element, let's say a wall (using composite), the key will automatically show the composite name, however perhaps there's one wall that they want to write in a manual note/description for whatever reason, the key will now show that info instead of the composite name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another scenario would be a staff member places a toilet and gas bottles, the toilet favourite just has the name entered "toilet". The gas bottles favourite has the "name" and the "description". The description is required to show for the gas bottles, but since the toilet has no description only the name shows.&lt;/P&gt;&lt;P&gt;Lastly, if there's no name and no description then the classification name will show, for the example of the gas bottles that would be "Gas supply cylinder systems" [CBI - 7212 - Gas supply cylinder systems].&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 19:19:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311088#M48283</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-21T19:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311089#M48284</link>
      <description>&lt;P&gt;I could create separate properties.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;Property 1 is IF (description &amp;lt;&amp;gt; "-", description, Property 2).&lt;/P&gt;&lt;P&gt;Then in Property 2 have IF (name &amp;lt;&amp;gt; "-", name, Property 3)&lt;/P&gt;&lt;P&gt;Then in Property 3 have the list of expressions for Complex profile etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just hoping to get it done in one expression if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 19:57:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311089#M48284</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-21T19:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311093#M48285</link>
      <description>&lt;P&gt;Not sure a understand how you want display the data. But if you want to test&amp;nbsp; the description field based on a blank field it should be description &amp;lt;&amp;gt; ""&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 21:41:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311093#M48285</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2021-10-21T21:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311097#M48286</link>
      <description>&lt;P&gt;Hi Gerry&lt;BR /&gt;&lt;BR /&gt;By default the description property has "-" entered.&lt;/P&gt;&lt;P&gt;I'm wanting the new property to read the Description if there is one entered (so not the default) and if there is no description entered (Default "-") then the property would read what's written in the name field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats the gist of of the beggining anyway, I have a bit of hierarchy in mind of subsequent info to show if the above is not available.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 22:05:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311097#M48286</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-21T22:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311125#M48293</link>
      <description>&lt;P&gt;IF I understand your sequence --you want either description, name, complex profile, composite, building material in that order. don't know what CBI is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expressions_3.PNG" style="width: 606px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/7184i67C0FBAF313BDD0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="expressions_3.PNG" alt="expressions_3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 06:56:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/311125#M48293</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2021-10-22T06:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313031#M48356</link>
      <description>&lt;P&gt;Thanks Gerry, we have a winner!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 03:43:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313031#M48356</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-26T03:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313303#M48394</link>
      <description>&lt;P&gt;I have another query, I'm not sure my description alone will be clear enough but I think the example might be.&lt;/P&gt;&lt;P&gt;I want to know if you can have an IFS function that has multiple logical tests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the virtual model there are various elements that have 3 properties in particular that I want to display depending on their values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll use phones as an example, as they are pretty standard internationally.&lt;/P&gt;&lt;P&gt;The 3 Properties are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Manufacturer (eg Apple)&lt;/LI&gt;&lt;LI&gt;Product (eg iPhone)&lt;/LI&gt;&lt;LI&gt;Name (eg Mobile phone)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So if an element only has the name populated I want it to read "Mobile phone"&lt;/P&gt;&lt;P&gt;If the element has the Manufacturer and Name I want it to read "Apple Mobile Phone"&lt;/P&gt;&lt;P&gt;If the element has the Product and Name I want to read "iPhone Mobile Phone"&lt;/P&gt;&lt;P&gt;If the element has the Manufacturer, Product and Name I want it to read&amp;nbsp;"Apple iPhone Mobile Phone"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not a perfect example but hopefully conveys the idea.&lt;/P&gt;&lt;P&gt;I'll fill in the gaps for commas and spaces etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 01:38:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313303#M48394</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-28T01:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313306#M48395</link>
      <description>&lt;P&gt;Rather than using IFS functions, can you create a 4th property that joins or merges the other three properties?&lt;/P&gt;
&lt;P&gt;That way if they are blank they will be left out.&lt;/P&gt;
&lt;P&gt;Then use the 4th result for what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 01:48:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313306#M48395</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-10-28T01:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313307#M48396</link>
      <description>&lt;P&gt;Thanks Barry&lt;BR /&gt;&lt;BR /&gt;Yeah, something like that might work, the values aren't truly blank as they have a "-", by default. But for the first 3 properties I could have an IF to the effect of if it's "-" show nothing [ ("") ?] but if it's populated then show the value.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 01:54:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313307#M48396</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-28T01:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: IFS expression not returning expected result</title>
      <link>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313315#M48403</link>
      <description>&lt;P&gt;IFS ( AND ( {Property:Phases/Manufacturer} &amp;lt;&amp;gt; "", {Property:Phases/Product} &amp;lt;&amp;gt; "", {Property:Phases/Name} &amp;lt;&amp;gt; "" ), TEXTJOIN ( " ", TRUE, {Property:Phases/Manufacturer}, {Property:Phases/Product}, {Property:Phases/Name} ), AND ( {Property:Phases/Manufacturer} &amp;lt;&amp;gt; "", {Property:Phases/Name} &amp;lt;&amp;gt; "" ), TEXTJOIN ( " ", TRUE, {Property:Phases/Manufacturer}, {Property:Phases/Name} ), AND ( {Property:Phases/Product} &amp;lt;&amp;gt; "", {Property:Phases/Name} &amp;lt;&amp;gt; "" ), TEXTJOIN ( " ", TRUE, {Property:Phases/Manufacturer}, {Property:Phases/Name} ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above assumes that all three custom properties are available for any element in question.&lt;/P&gt;&lt;P&gt;If any property is not available, the expression will fail. This is the reason that a sequence of three was used in the first question because for any element only one of the profiles would be available. Also the reason a fourth sequence combining everything would not be valid. If any of one of the three properties above would not be made available to a particular element, you would have to go to the sequence method again or just let it fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Or a simpler method if this is what you had in mind???&lt;/P&gt;&lt;P&gt;TEXTJOIN ( " ", TRUE, {Property:Phases/Manufacturer}, {Property:Phases/Product}, {Property:Phases/Name} )&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 07:07:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/IFS-expression-not-returning-expected-result/m-p/313315#M48403</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2021-10-28T07:07:41Z</dc:date>
    </item>
  </channel>
</rss>

