<?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: Odd and even years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790299#M1232297</link>
    <description>&lt;P&gt;So you mean, Data displayed below for Department A is from &amp;amp; &amp;amp;' if(Mod(Year,2) = 0,'DepartmentA,'DepartmentB') ?? the expression doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to show the text as "Data displayed for Department A is from 2018" - when 2018 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department A is from 2018" - when 2019 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department A is from 2020" - when 2020 is selected&lt;/P&gt;&lt;P&gt;Same way for Department B&lt;/P&gt;&lt;P&gt;"Data displayed for Department B is from 2019" - when 2019 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department B is from 2019" - when 2020 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department B is from 2021" - when 2021 is selected&lt;/P&gt;&lt;P&gt;Hope I'm explaining the requirement clearly. Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 22:52:56 GMT</pubDate>
    <dc:creator>analyticsuser</dc:creator>
    <dc:date>2021-03-10T22:52:56Z</dc:date>
    <item>
      <title>Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790284#M1232287</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;We have data coming in every alternate year 2 different departments. For example, 2018 we get data for Department A, 2019 for Department B, 2020 for Department A, 2021 for Department B and so on...&lt;/P&gt;&lt;P&gt;I would like to display a text based off the year, for even years - it should display the&lt;/P&gt;&lt;P&gt;even years - department A&amp;nbsp;&lt;/P&gt;&lt;P&gt;odd years - Department B&lt;/P&gt;&lt;P&gt;How can I write the set expression to achieve this?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790284#M1232287</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790288#M1232290</link>
      <description>&lt;P&gt;Why not use an "IF" statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/mod.htm" target="_self"&gt;Mod&lt;/A&gt;&amp;nbsp;(Year,2) = 0,'Department A','Department B')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 21:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790288#M1232290</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-03-10T21:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790289#M1232292</link>
      <description>&lt;P&gt;Thank you. It works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have to display text that says data is for 2018 for Department A, when the user clicks on 2019, it should still say data displayed is for 2018 Department A as technically there's no data in 2019 for Department A. When user clicks 2020, it should say data displayed is for 2020 Department A.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2018 - Data is for 2018 Department A&lt;/P&gt;&lt;P&gt;2019 - Data is for 2018 Department A&lt;/P&gt;&lt;P&gt;2020 - Data is for 2020 Department A&lt;/P&gt;&lt;P&gt;In the text, Do I need a variable for on year to manipulate the year?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790289#M1232292</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2021-03-10T22:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790290#M1232294</link>
      <description>&lt;P&gt;Why is data still showing if you choose a year without data?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790290#M1232294</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-03-10T22:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790291#M1232295</link>
      <description>&lt;P&gt;That was the client's requirement to display previous year's data. They didn't want it to be blank.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790291#M1232295</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2021-03-10T22:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790293#M1232296</link>
      <description>&lt;P&gt;Use the same logic that displays the previous year's data to populate the year in the formula&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/mod.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Mod&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;(Year,2) = 0,'Department A','Department B')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not the selected year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790293#M1232296</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-03-10T22:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Odd and even years</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790299#M1232297</link>
      <description>&lt;P&gt;So you mean, Data displayed below for Department A is from &amp;amp; &amp;amp;' if(Mod(Year,2) = 0,'DepartmentA,'DepartmentB') ?? the expression doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to show the text as "Data displayed for Department A is from 2018" - when 2018 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department A is from 2018" - when 2019 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department A is from 2020" - when 2020 is selected&lt;/P&gt;&lt;P&gt;Same way for Department B&lt;/P&gt;&lt;P&gt;"Data displayed for Department B is from 2019" - when 2019 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department B is from 2019" - when 2020 is selected&lt;/P&gt;&lt;P&gt;"Data displayed for Department B is from 2021" - when 2021 is selected&lt;/P&gt;&lt;P&gt;Hope I'm explaining the requirement clearly. Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-and-even-years/m-p/1790299#M1232297</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2021-03-10T22:52:56Z</dc:date>
    </item>
  </channel>
</rss>

