<?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: Assistance with Expression in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798585#M1211475</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;(Please note that I've changed the value of vRepPeriod13 - it &lt;STRONG&gt;excludes&lt;/STRONG&gt; any selections made on FY)&lt;/P&gt;&lt;P&gt;The value of vRepPeriod13, with no selections made on FY, is = 202001 - which is correct. (Please note that 'Table_Type', 'Channel' and 'Services' = 'Bucks' always need to be selected)&lt;/P&gt;&lt;P&gt;However, if I select FY = 2020/2021, the value in the expression disappears although vRepPeriod13 still stays = 202001...why is that happening? Because that causes my expression in the chart to disappear also. I'm getting the feeling that I should be using an 'IF' statement in the expression.. that tests - did the user select a FY - if they did - use some other 13 month calc. If they didnt - use vRepPeriod13 as current? What do you think?&lt;/P&gt;&lt;P&gt;Much appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Apr 2021 13:42:18 GMT</pubDate>
    <dc:creator>QFanatic</dc:creator>
    <dc:date>2021-04-11T13:42:18Z</dc:date>
    <item>
      <title>Assistance with Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798340#M1211450</link>
      <description>&lt;P&gt;Hello Clever People,&lt;/P&gt;&lt;P&gt;Please find attached.&lt;/P&gt;&lt;P&gt;1. A bit about the data. Dimension "Service" has a specific value, called "Bucks"&lt;/P&gt;&lt;P&gt;2. I have a normal calendar as well as one for Fiscal Year (which runs from July to June of next year)&lt;/P&gt;&lt;P&gt;3. I have "Actual" values (which are indicated with 'HasValue' = 1) and Budgeted Values ('HasValue' = 0). (You will notice that the "highest" Financial year (2021/2022) contains only values with 'HasValue' = 0 . common sense.)&lt;/P&gt;&lt;P&gt;4. What I want to achieve on the Graph with the blue heading..&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 4.1&amp;nbsp; &lt;STRONG&gt;if the user DOESNT&lt;/STRONG&gt; select a financial year - it should just go to the "latest" month that 'HasValue' = 1 MINUS 13 months.... The -13 doesnt work - I think it has to do with the Financial year in the Set Analysis...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;4.2 &lt;STRONG&gt;if the user selects a Financial year&lt;/STRONG&gt; (2020/2021) = same must happen....it should just go to the "latest" month that 'HasValue' = 1 MINUS 13 months. That DOESNT work, because the Period will fall in another FY - that is why I am trying to subtract 1 from the FY. (I got the amazing advice from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt; to use Firstsortedvalue on the FY - since it is a dual field - not sure how to use 13 in the Rank part of FirstSortedValue)&lt;/P&gt;&lt;P&gt;5. Any advice getting this chart to work. Maybe I am off on a tangent and there is a better way to do it?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798340#M1211450</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-09T13:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798567#M1211472</link>
      <description>&lt;P&gt;Hi, If set analysis is alredy filtering by period, why you need toa lso filter by FY?&lt;/P&gt;&lt;P&gt;Just this can work or I'm missing something?:&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Period = {'$(vRepPeriod13)'},Channel = {'Messaging'}, Table_Type = {'Mess_Grph_2'},Services = {'Bucks'}&amp;gt;}Value)&lt;BR /&gt;/&lt;BR /&gt;1000&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 10:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798567#M1211472</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-04-11T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798585#M1211475</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;(Please note that I've changed the value of vRepPeriod13 - it &lt;STRONG&gt;excludes&lt;/STRONG&gt; any selections made on FY)&lt;/P&gt;&lt;P&gt;The value of vRepPeriod13, with no selections made on FY, is = 202001 - which is correct. (Please note that 'Table_Type', 'Channel' and 'Services' = 'Bucks' always need to be selected)&lt;/P&gt;&lt;P&gt;However, if I select FY = 2020/2021, the value in the expression disappears although vRepPeriod13 still stays = 202001...why is that happening? Because that causes my expression in the chart to disappear also. I'm getting the feeling that I should be using an 'IF' statement in the expression.. that tests - did the user select a FY - if they did - use some other 13 month calc. If they didnt - use vRepPeriod13 as current? What do you think?&lt;/P&gt;&lt;P&gt;Much appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 13:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798585#M1211475</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-11T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798587#M1211476</link>
      <description>&lt;P&gt;Hi Ruben - answer to your first question - if I subtract 13 months from any Period or PeriodID, it would fall OUTSIDE of the current FY...that is why, I think, I need to clear the FY&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 13:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798587#M1211476</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-11T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798602#M1211478</link>
      <description>&lt;P&gt;Hi, if only with period you have the value you need there is no need to also filter FY. You can just omit the selections on this field in set analysis like:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Services = {'Bucks'},Period = {'$(vRepPeriod13)'}, Channel = {'Messaging'}, Table_Type = {'Mess_Grph_2'}, &lt;STRONG&gt;FY=&lt;/STRONG&gt;&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;Without this the value will disappear because it tries to show values with Period 202001 and FY 2020/2021, and there is&amp;nbsp; no data with both conditions.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 18:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798602#M1211478</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-04-11T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798662#M1211482</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;I think I got confused, because in the variable I needed to keep track of FY but not in in the expression.&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 08:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-Expression-in-Chart/m-p/1798662#M1211482</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-12T08:41:25Z</dc:date>
    </item>
  </channel>
</rss>

