<?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: Check if dates fall in alternate state in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577919#M478481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write in background of expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;state &lt;/SPAN&gt;='A' and isnull(Date)=-1,REd(),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 15:10:05 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2014-03-14T15:10:05Z</dc:date>
    <item>
      <title>Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577917#M478479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a bar chart to show the volume of incidents created in alternate state A and B.&amp;nbsp; I want to change the bar color if the date falls into A.&amp;nbsp; Possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 15:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577917#M478479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577918#M478480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible&lt;/P&gt;&lt;P&gt;You can click on + sign of your expression you will see Background Color.&lt;/P&gt;&lt;P&gt;In that right expression like&lt;/P&gt;&lt;P&gt;if(fieldname='A',Red(),Green())&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;if(fieldname='A',RGB(125,125,125),RGB(255,255,255))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 15:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577918#M478480</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-03-14T15:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577919#M478481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write in background of expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;state &lt;/SPAN&gt;='A' and isnull(Date)=-1,REd(),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 15:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577919#M478481</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-14T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577920#M478482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Max's is checking to see if the field is equal to string value of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil - is state supposed to be a function or the state name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 17:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577920#M478482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T17:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577921#M478483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you elaborate a little more of your situation and explain the expressions/dimensions of your chart and maybe how you are using the alternate states. Not sure what you mean by "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;date falls into A&lt;/SPAN&gt;".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 17:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577921#M478483</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-14T17:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577922#M478484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( MyDate &amp;gt;= min({A}MyDate) and MyDate &amp;lt;= max({A}MyDate , blue(), red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 17:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577922#M478484</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-14T17:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577923#M478485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart in the inherited state w/ the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: WeekStart(Opened_At)&lt;/P&gt;&lt;P&gt;Expression: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Count(Distinct {StateA} Incidents) + Count(Distinct {StateB} &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Incidents&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have 2 separate list boxes with all the WeekStart(Opened_At) values, one in StateA and one in StateB.&amp;nbsp; When a week is selected in each list box, the bar chart shows volumes for the days in those weeks.&amp;nbsp; I want to change the bar colors based on the the week they fall in so the data appears separated and users know the bar falls into StateA vs StateB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Before finishing this, I did just realize I can do a background color expression for checking the count.&amp;nbsp; Using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=if(Count(Distinct {StateA} Incidents)&amp;gt;0,red(),green())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 17:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577923#M478485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T17:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check if dates fall in alternate state</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577924#M478486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its state Name field which should b e available in ur app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 15:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-dates-fall-in-alternate-state/m-p/577924#M478486</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-15T15:12:07Z</dc:date>
    </item>
  </channel>
</rss>

