<?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: Dimension based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776603#M717787</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/133229"&gt;@livetolearn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a listbox using inline or create dropdown list box.&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;UserInput&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;and make it "Always one selected value".&lt;/P&gt;&lt;P&gt;In dim expression,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If(UserInput = 1, Country,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Region&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Label:&amp;nbsp;=If(UserInput = 1, 'Country', 'Region')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 06:39:27 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-01-22T06:39:27Z</dc:date>
    <item>
      <title>Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776584#M717784</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to know how do i&amp;nbsp; change the dimension of a table or bar chart ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example : I have a bar chart&amp;nbsp; with dimesion "Region"&amp;nbsp; and expression as Sum(Sales) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to have a list box as variable in (0 and 1) if I select 1 then the table should show Dimesnion as "Country"&amp;nbsp;&lt;/P&gt;&lt;P&gt;and If 0 then the table chart should show "Region ".&lt;/P&gt;&lt;P&gt;Is this possible to make the table or bar chart change the dimesions according to the selection from the list box ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 05:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776584#M717784</guid>
      <dc:creator>livetolearn</dc:creator>
      <dc:date>2021-01-22T05:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776592#M717785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/133229"&gt;@livetolearn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;=If(vUserInput = 1, Country, &lt;SPAN&gt;Region&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 06:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776592#M717785</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-01-22T06:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776596#M717786</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created the variable vUserInput and in definition I assigned one ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in the dimension&amp;nbsp; i mention your above mentioned expression ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the thing is how do i make the selection 1 or now selection in a list box ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also the header of the dimesion should change&amp;nbsp; if its Region or Country ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 06:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776596#M717786</guid>
      <dc:creator>livetolearn</dc:creator>
      <dc:date>2021-01-22T06:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776603#M717787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/133229"&gt;@livetolearn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a listbox using inline or create dropdown list box.&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;UserInput&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;and make it "Always one selected value".&lt;/P&gt;&lt;P&gt;In dim expression,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If(UserInput = 1, Country,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Region&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Label:&amp;nbsp;=If(UserInput = 1, 'Country', 'Region')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 06:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-based-on-selection/m-p/1776603#M717787</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-01-22T06:39:27Z</dc:date>
    </item>
  </channel>
</rss>

