<?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: Conditional Highlighting in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Conditional-Highlighting/m-p/414620#M2423</link>
    <description>&lt;P&gt;The built-in Web Report Studio table objects do not support creating conditional highlighting rules based on hidden columns. You must either include the flag column in the table, or write a stored process to create the table instead of using the built-in table objects.&amp;nbsp;The stored process must conform to the guidelines in this SAS Note:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/47/839.html" target="_blank"&gt;http://support.sas.com/kb/47/839.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that Visual Analytics does enable you to create expression-based display rules for columns that are not visible in the table.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2017 16:41:47 GMT</pubDate>
    <dc:creator>Madelyn_SAS</dc:creator>
    <dc:date>2017-11-19T16:41:47Z</dc:date>
    <item>
      <title>Conditional Highlighting</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Conditional-Highlighting/m-p/414249#M2422</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are creating reports from information map in WRS using relational database.&lt;/P&gt;&lt;P&gt;We are trying to achieve conditional highlighting using WRS functionality.&lt;/P&gt;&lt;P&gt;Suppose we have a column named Flag.&lt;/P&gt;&lt;P&gt;Our rule for conditional highlighting is as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If flag value is 1 then we need to highlight the entire row in the report.&lt;/LI&gt;&lt;LI&gt;If flag is 0 then we need no highlighting.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We know there is a conditional highlighting functionality in&amp;nbsp;WRS where we can define rules.&lt;/P&gt;&lt;P&gt;But another requirement is that we need to hide that column.&lt;/P&gt;&lt;P&gt;Below screenshots will help you understand more.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Requirement:&lt;/U&gt;&lt;/STRONG&gt; Refer&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;attached&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;Figure 1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Figure 1" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16693i95FE638EE410D291/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Figure 1.jpg" alt="Figure 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Figure 1&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Current Solution:&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;Refer attached Figure 2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Figure 2" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16694iBB5DAD805F7B5ED6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Figure 2.jpg" alt="Figure 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Figure 2&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Hiding flag column removes highlighting:&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;Refer attached Figure 3&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Figure 3" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16695iA979AE66795E7824/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Figure 3.jpg" alt="Figure 3" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Figure 3&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Based on Flag column we are highlighting the entire row wherein we need to hide that column as seen in figure 1. But when we hide the flag column, the conditional highlighting is removed as seen in figure 3&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 04:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Conditional-Highlighting/m-p/414249#M2422</guid>
      <dc:creator>Karuna25</dc:creator>
      <dc:date>2017-11-17T04:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Highlighting</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Conditional-Highlighting/m-p/414620#M2423</link>
      <description>&lt;P&gt;The built-in Web Report Studio table objects do not support creating conditional highlighting rules based on hidden columns. You must either include the flag column in the table, or write a stored process to create the table instead of using the built-in table objects.&amp;nbsp;The stored process must conform to the guidelines in this SAS Note:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/47/839.html" target="_blank"&gt;http://support.sas.com/kb/47/839.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that Visual Analytics does enable you to create expression-based display rules for columns that are not visible in the table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 16:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Conditional-Highlighting/m-p/414620#M2423</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2017-11-19T16:41:47Z</dc:date>
    </item>
  </channel>
</rss>

