<?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: System field $Field &amp; Set Analysis &amp; Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536820#M200613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A solution to what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I don't understand your current setting and requirement. Please post a small sample and a description of your expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2013 17:45:39 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-10-10T17:45:39Z</dc:date>
    <item>
      <title>System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536815#M200608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So I have a unique problem.&amp;nbsp; I want to give the user the ability to select two columns/field names from a listbox that contains the contents of $Field(the System field showing all of the column names).&amp;nbsp; The user will select two different columns/field names.&amp;nbsp; I will have a graph that will take these two seperate selections and create a graph showing both selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;-Two field names I am using are ACDCalls and ABNDCalls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that I will have two list boxes of $Field.&amp;nbsp; Using Alternate States, I will place a different state on each of the boxes so that I can select two seperate fields from the same $Field.&amp;nbsp; I will have a chart in the inherited state.&amp;nbsp; I will have two expressions such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum( {State1}[$Field]))&lt;/P&gt;&lt;P&gt;(sum( {State2}[$Field]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work.&amp;nbsp; The graph shows no data.&amp;nbsp; However, when I change things up and use a different field instead of $Field, I am able to use alternate states and set analysis, so it is not my syntax that is incorrect.&amp;nbsp; I am guessing that using a systemfield such as $Field with alternate State and Set Analysis will not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone give me a better option or fine-tune my current idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 18:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536815#M200608</guid>
      <dc:creator />
      <dc:date>2013-10-09T18:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536816#M200609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum( &lt;EM&gt;$(=only({State1} $Field))&lt;/EM&gt; )&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(&lt;EM&gt; $(=only({State2} $Field))&lt;/EM&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 19:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536816#M200609</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-09T19:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536817#M200610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same thought.&amp;nbsp; My current(and exact formula) is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'acdtime',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(( (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=ONLY($Field))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ) )/(3600*24),'hh:mm:ss'), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I would try to place the alternate state in there...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'acdtime',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(( (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({State1} &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=ONLY($Field))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ) )/(3600*24),'hh:mm:ss'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I did try yours and it did not work either.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 19:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536817#M200610</guid>
      <dc:creator />
      <dc:date>2013-10-09T19:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536818#M200611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&amp;nbsp; I took out the if statement logic :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;=Time&lt;SPAN style="font-size: 8pt;"&gt;(( (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=only({State1} $Field))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) ) )/(3600*24),'hh:mm:ss') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It looks to be working.&amp;nbsp; The selection is being read from an alternate state and utilizing the systemfield $Field.&amp;nbsp; So now if I can plug in my if statement I'd be set to cascade this change to the rest of the formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 19:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536818#M200611</guid>
      <dc:creator />
      <dc:date>2013-10-09T19:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536819#M200612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi does anyone have a solution for this?&amp;nbsp; It appears I cant use an if statement with Only() function, which is unfortunate (unless I am mistaken). &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536819#M200612</guid>
      <dc:creator />
      <dc:date>2013-10-10T17:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536820#M200613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A solution to what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I don't understand your current setting and requirement. Please post a small sample and a description of your expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536820#M200613</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-10T17:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: System field $Field &amp; Set Analysis &amp; Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536821#M200614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='acdtime',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(( (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=only({State1} $Field))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) ) )/(3600*24),'hh:mm:ss'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'acdcalls',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;acdcalls&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'####')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;I will have two &lt;/SPAN&gt;list boxes that where the user will select from a list of system fields to compare two sets of data in one graph.&amp;nbsp; Since the list of fields come from the same system field($Field), I have to break it up into Alternate States so that the user can select two values from two different list boxes.&amp;nbsp; The problem I now face is that the user can potentially select a time value(acdtime which will be displayed in hh:mm:ss) and a number value.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I could leave the expression as :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(( (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=only({State1} $Field))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) ) )/(3600*24),'hh:mm:ss'),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;However, if the user selected his second value as a number and not a time value, the number would be shown in hh:mm:ss as well.&amp;nbsp; I hope it is becoming clearer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; apologies!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/System-field-Field-Set-Analysis-Alternate-States/m-p/536821#M200614</guid>
      <dc:creator />
      <dc:date>2013-10-10T18:06:57Z</dc:date>
    </item>
  </channel>
</rss>

