<?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: Cycle Groups - Link dimension switching between two groups? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030337#M347935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I was hoping for either a trigger I could set for OnFieldChange or something to that effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you're thinking along the same lines we were, as either writing the reduction into the expression via Set analysis or using dimensional limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to do this with Dimensional limits previously with limited success, but I might take another crack at it to see if I can get the intended behavior, since we sometimes have several expressions per chart we might need to do this for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 23:56:41 GMT</pubDate>
    <dc:creator>ryaneverts</dc:creator>
    <dc:date>2016-03-31T23:56:41Z</dc:date>
    <item>
      <title>Cycle Groups - Link dimension switching between two groups?</title>
      <link>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030335#M347933</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;Running into a problem that hopefully the community can assist on.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Premise is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a chart which uses a cycle group as a dimension&lt;/LI&gt;&lt;LI&gt;The cycle group consists of date fields at day, week, year/month, and fiscal year/quarter granularity&lt;/LI&gt;&lt;LI&gt;I want to limit the data displayed in the chart to last x days/weeks/months/quarters when no date range is selected to avoid needing a dimensional scroll bar.&lt;/LI&gt;&lt;/UL&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;We tried to resolve this by creating two cycle groups (one with limited date fields, one with non-limited date fields).&amp;nbsp; Using conditional logic, the limited group is shown until a date range is selected, and then the non-limited group is shown instead. We realized during testing that user experience would suffer when a date range is selected, as the two cycle groups aren't paired on which field is displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My question: is there a way to pair two cycle groups so that shifting the displayed field in one cycle group will also shift the other, or do we need to try a different approach to the problem?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It seems like the currently displayed field for the group must be stored as a hidden document variable, though I'm not confident it can be accessed/changed...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 22:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030335#M347933</guid>
      <dc:creator>ryaneverts</dc:creator>
      <dc:date>2016-03-31T22:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle Groups - Link dimension switching between two groups?</title>
      <link>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030336#M347934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, you would like to have something like a SetCurrentField() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't know a method to set the current field in a dimension group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative approach, have you considered limiting your dimension values using set expressions?&lt;/P&gt;&lt;P&gt;Maybe you can use a variable to create dynamically a set expression based on your current selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 22:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030336#M347934</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-31T22:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle Groups - Link dimension switching between two groups?</title>
      <link>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030337#M347935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I was hoping for either a trigger I could set for OnFieldChange or something to that effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you're thinking along the same lines we were, as either writing the reduction into the expression via Set analysis or using dimensional limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to do this with Dimensional limits previously with limited success, but I might take another crack at it to see if I can get the intended behavior, since we sometimes have several expressions per chart we might need to do this for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 23:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030337#M347935</guid>
      <dc:creator>ryaneverts</dc:creator>
      <dc:date>2016-03-31T23:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle Groups - Link dimension switching between two groups?</title>
      <link>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030338#M347936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I understand your requirement correctly, try this,&lt;/P&gt;&lt;P&gt;=GetCurrentField(G1) will give you the Current Field Selected in G1 group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this function to check condition like below,&lt;/P&gt;&lt;P&gt;=if(&lt;SPAN style="font-size: 13.3333px;"&gt;GetCurrentField(G1)='Month', epression1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;GetCurrentField(G1)='Year',epression2,epression3))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also this can help to compare two group field selection comparison as,&lt;/P&gt;&lt;P&gt;=if(&lt;SPAN style="font-size: 13.3333px;"&gt;GetCurrentField(G1)=&lt;SPAN style="font-size: 13.3333px;"&gt;GetCurrentField(G2),condition1,condition2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;to provide specific solution, can explain your requirement with example.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 03:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cycle-Groups-Link-dimension-switching-between-two-groups/m-p/1030338#M347936</guid>
      <dc:creator>amayuresh</dc:creator>
      <dc:date>2016-04-01T03:16:52Z</dc:date>
    </item>
  </channel>
</rss>

