<?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: Object Report With Conditionals in Community Forum</title>
    <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456302#M18172</link>
    <description>&lt;P&gt;I'd like to do something similar.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would like to do is have the object report check the PSCORE_LEGAL_FIRST_NAME and PSCORE_LEGAL_LAST_NAME fields. If those fields return blank, then I would like the report to use the First_Name and Last_Name fields instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 17:12:41 GMT</pubDate>
    <dc:creator>wilhelzm</dc:creator>
    <dc:date>2023-01-23T17:12:41Z</dc:date>
    <item>
      <title>Object Report With Conditionals</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456255#M18166</link>
      <description>&lt;P&gt;I am attempting to create a conditional response within an object report based upon the following&amp;nbsp; syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~([Students.U_Students_Extension]HLS_NT_YN;if.fieldvalue.Yes.then=~([Students.U_Students_Extension]HLS_NT_YS))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like the report to render the value of&amp;nbsp;[Students.U_Students_Extension]HLS_NT_YS when the value of&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Students.U_Students_Extension]HLS_NT_YN evaluates to&amp;nbsp;"Yes", and render nothing (blank) when the value of [Students.U_Students_Extension]HLS_NT_YN evaluates to "No".&lt;/P&gt;&lt;P&gt;(Please note: similar but different field names ,"YN" vs. "YS")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, what is the difference between the conditional statements:&lt;/P&gt;&lt;P&gt;^(field;if.fieldvalue.XX.then=result)&lt;/P&gt;&lt;P&gt;and]&lt;/P&gt;&lt;P&gt;^(field;if.fieldvalue#XX.then=result)&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:30:43 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456255#M18166</guid>
      <dc:creator>TCTech</dc:creator>
      <dc:date>2023-01-23T15:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Object Report With Conditionals</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456259#M18169</link>
      <description>&lt;P&gt;It should also be noted that the statement above currently renders "No" &lt;SPAN&gt;when the value of [Students.U_Students_Extension]HLS_NT_YN evaluates to "No", and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;nothing (blank) when the value of [Students.U_Students_Extension]HLS_NT_YN evaluates to "Yes".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:44:32 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456259#M18169</guid>
      <dc:creator>TCTech</dc:creator>
      <dc:date>2023-01-23T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Object Report With Conditionals</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456302#M18172</link>
      <description>&lt;P&gt;I'd like to do something similar.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would like to do is have the object report check the PSCORE_LEGAL_FIRST_NAME and PSCORE_LEGAL_LAST_NAME fields. If those fields return blank, then I would like the report to use the First_Name and Last_Name fields instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 17:12:41 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/456302#M18172</guid>
      <dc:creator>wilhelzm</dc:creator>
      <dc:date>2023-01-23T17:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Object Report With Conditionals</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/513981#M23652</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this. Basically if the legal first name is blank it will use the first name&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;^(decode;^(StudentCoreFields.PSCORE_LEGAL_FIRST_NAME);;^(first_name);^(StudentCoreFields.PSCORE_LEGAL_FIRST_NAME))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 16:32:11 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/513981#M23652</guid>
      <dc:creator>mbuonato</dc:creator>
      <dc:date>2024-05-15T16:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Object Report With Conditionals</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/519680#M24116</link>
      <description>&lt;P&gt;I am working on something similar to this. Were you able to get this working?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 19:14:20 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/519680#M24116</guid>
      <dc:creator>jbloom1</dc:creator>
      <dc:date>2024-07-17T19:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Object Report With Conditionals</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/519714#M24121</link>
      <description>&lt;P&gt;I actually got mine working. This document helped me get the right conditions set up.&amp;nbsp;&lt;A href="https://help.powerschool.com/t5/PowerSchool-SIS-Knowledge-Base/How-To-PowerSchool-SIS-IF-THEN-and-DECODE/ta-p/15526" target="_blank" rel="noopener"&gt;How-To: PowerSchool SIS - IF THEN and DECODE - PowerSchool Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I had one field that was populated from a form with 2 possible answers. This is what I ended up with:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;^([Students.U_Students_extension]CA_Q1;if.fieldvalue.N.then=X;if.fieldvalue.Y.then= )&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If CA_Q1 value is N it would populate an X (to act as a checkbox on a printed form) if the value was Y it would show up blank.&lt;BR /&gt;&lt;BR /&gt;I am thinking with yours you will need to have another IF letting it know what to do when the answer is YN so something like this:&lt;BR /&gt;&lt;BR /&gt;^([Students.U_Students_Extension]HLS_NT_YN;if.fieldvalue.Yes.then=^([Students.U_Students_Extension]HLS_NT_YS);if.fieldvalue.No.then= ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not sure if you need to replace the ^ with ~ like in your conditionals before but I needed to have ^ to work for me.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^(field;if.fieldvalue.XX.then=result) ----&amp;nbsp; The fieldvalue equals a variable (XX)&lt;/P&gt;&lt;P&gt;^(field;if.fieldvalue#XX.then=result) ---- The fieldvalue does&amp;nbsp;&lt;STRONG&gt;not&lt;/STRONG&gt; equal a variable (XX)&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:31:51 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-With-Conditionals/m-p/519714#M24121</guid>
      <dc:creator>jbloom1</dc:creator>
      <dc:date>2024-07-18T11:31:51Z</dc:date>
    </item>
  </channel>
</rss>

