<?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: RE:what wrong in my expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964798#M330814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, this is simple. Set modifiers are assignments, not comparisons. On the left, you specify a field name (no expressions, just a field name), then comes the assignment operator and then comes the set of values between curly braces you want to assign to that field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to express the set of values as an expression ("all values smaller than or equal to"), you have to enter a search string between the curly braces. Rudolf did exactly that in correcting your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I don't exactly see what you mean by the comparison &amp;lt;= '1-Ciritcal'. Do you want to create set with all values that are smaller than or equal to 1 minus the value of field Critical? If not, then please specify what the values are that Def_Severity (square brackets aren't needed here) can have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2015 12:30:02 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-12-21T12:30:02Z</dc:date>
    <item>
      <title>RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964795#M330811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({[Def_Severity]&amp;lt;='1-Critical'&amp;gt;Def_Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What wrng in dis exp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964795#M330811</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-12-21T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964796#M330812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;=Count({[Def_Severity]={'&amp;lt;=$(1-Critical')}&amp;gt;Def_Id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964796#M330812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-21T12:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964797#M330813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[Def_Severity]={'1-Critical'}&amp;gt;}Def_Id)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964797#M330813</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-21T12:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964798#M330814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, this is simple. Set modifiers are assignments, not comparisons. On the left, you specify a field name (no expressions, just a field name), then comes the assignment operator and then comes the set of values between curly braces you want to assign to that field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to express the set of values as an expression ("all values smaller than or equal to"), you have to enter a search string between the curly braces. Rudolf did exactly that in correcting your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I don't exactly see what you mean by the comparison &amp;lt;= '1-Ciritcal'. Do you want to create set with all values that are smaller than or equal to 1 minus the value of field Critical? If not, then please specify what the values are that Def_Severity (square brackets aren't needed here) can have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964798#M330814</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-21T12:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964799#M330815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hve other filter lik &lt;/P&gt;&lt;P&gt;DEF_Aging&lt;/P&gt;&lt;P&gt;&amp;gt;3days&lt;/P&gt;&lt;P&gt;1day&lt;/P&gt;&lt;P&gt;2day&lt;/P&gt;&lt;P&gt;3day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need to disaply the colurs&amp;nbsp; in same text object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Def_Severity]={'1-Critical'}&amp;gt;}Def_ID)&amp;nbsp;&amp;nbsp; in dis&amp;nbsp; expression only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;Median Value:&lt;BR /&gt; For Critical Defects :&amp;nbsp;&amp;nbsp; &amp;lt; 0.5 days - green, &amp;gt; 0.5 days to 1 day Yellow, &amp;gt; 1 day RED&lt;BR /&gt; &lt;BR /&gt; For Major Defects :&amp;nbsp;&amp;nbsp; &amp;lt; 1.5 days - green, &amp;gt; 1.5 days to 3 days Yellow, &amp;gt; 3 days RED&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964799#M330815</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-12-21T12:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964800#M330816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Critical:-'&amp;amp;Count({&amp;lt;[Def_Severity]={'1-Critical'}&amp;gt;}Def_ID) and&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(count(Def_Severity)&amp;lt;=0.5, Red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hve tried bur expression sayng ok..but value colur nt chnging&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964800#M330816</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-12-21T12:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964801#M330817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to add the same set analysis in the second count as well, if you want to color a value relaled to '1-Ciritcal'. For example, add this to the Background Color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'courier new', courier;"&gt;=IF (Median(&lt;SPAN style="color: #3d3d3d;"&gt;{&amp;lt;[Def_Severity]={'1-Critical'}&amp;gt;} &lt;/SPAN&gt;Defect_Aging_Days)&amp;lt;=0.5, Green(), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF (M&lt;SPAN style="color: #3d3d3d;"&gt;edian(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;{&amp;lt;[Def_Severity]={'1-Critical'}&amp;gt;} &lt;SPAN style="color: #3d3d3d;"&gt;Defect_Aging_Days&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt; &amp;gt; , Red(), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yellow()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Edit] Modified to include correct field name from post below.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964801#M330817</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-21T12:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964802#M330818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some data to help you better here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 12:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964802#M330818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-21T12:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964803#M330819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could u help sunny on this exp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Critical:-'&amp;amp;Count({&amp;lt;[Def_Severity]={'1-Critical'}&amp;gt;}Def_ID) and&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(count(Defect_Aging_Days)&amp;lt;=0.5, Red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964803#M330819</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-12-21T13:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964804#M330820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, a count that returns 0.5? 0.4? 0.6 maybe? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964804#M330820</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-21T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964805#M330821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can you explain in words what are you trying to accomplish here? You are using text and some conditions to set color? Is this used in a chart or a text box object?? or is this for background color?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964805#M330821</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-21T13:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964806#M330822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964806#M330822</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-21T13:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964807#M330823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i hve text object... wheever i am selecting one value frm def aging.... in tht text box the values colour shud be chnge based on values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964807#M330823</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-12-21T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: RE:what wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964808#M330824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can either color the entire text box (see Properties-&amp;gt;General-&amp;gt;Background color button) or color the text itself (see Properties-&amp;gt;Font-&amp;gt;Text color button).Each button provides access to a color expression field (on the right)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can enter my previous expression in either one &lt;SPAN style="text-decoration: line-through;"&gt;or in both&lt;/SPAN&gt; (making the text invisible, nah, not good).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-what-wrong-in-my-expression/m-p/964808#M330824</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-21T13:22:25Z</dc:date>
    </item>
  </channel>
</rss>

