<?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 How to keep one domain value constant in a Trellis chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221288#M74110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bryan,&lt;/P&gt;&lt;P&gt;Yes, that is what I want, but all as one chart so that it will minimize/maximize all at once (instead of having to minimize/maximize them as two separate charts). The only way I can think of to do this is as a Trellis chart. Do you know how to do it all as one chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Sep 2010 21:11:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-28T21:11:57Z</dc:date>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221284#M74106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to show the comparison between two companies, let's say Acme and whatever company the user selects, in a trellis chart that sums Sales by Region and Product.&lt;/P&gt;&lt;P&gt;The hard part is that I want Acme to always be one of the companies, and the other company to be whatever the user selects. Does anyone know how to do this?&lt;/P&gt;&lt;P&gt;Ideally the chart would look like this, where ACME is always the first company regardless of user selection.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2456_sourceID:2456" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here's the script I used to generate the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee; font-size: 12px; border: 1px dashed #999999; line-height: 14px; padding: 5px; overflow: auto; width: 100%;"&gt;&lt;CODE&gt;Table:LOAD if(recno() / 9 &amp;lt;= 1, 'Product A', if(recno() / 9 &amp;gt; 1 AND recno() / 9 &amp;lt;= 2, 'Product B', if(recno() / 9 &amp;gt; 2, 'Product C'))) AS Product, if(mod(floor((recno()-1)/3), 3) = 0, 'Texas', if(mod(floor((recno()-1)/3), 3) = 1, 'California', if(mod(floor((recno()-1)/3), 3) = 2, 'Georgia'))) AS Region, if(mod((recno()-1), 3) = 0, 'Acme', if(mod((recno()-1), 3) = 1, 'Company A', if(mod((recno()-1), 3) = 2, 'Company B'))) AS Carrier, rand() * 1000 AS SalesAUTOGENERATE 27;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to anyone who can help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 18:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221284#M74106</guid>
      <dc:creator />
      <dc:date>2010-09-28T18:19:30Z</dc:date>
    </item>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221285#M74107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the chart options&lt;/P&gt;&lt;P&gt;use Region as your dimension&lt;/P&gt;&lt;P&gt;Then in your expressions tab, use something like this to limit it only to Acme:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Carrier={"Acme"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 19:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221285#M74107</guid>
      <dc:creator />
      <dc:date>2010-09-28T19:04:35Z</dc:date>
    </item>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221286#M74108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Bryan,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;If I have Region as my chart dimension, won't that make the trellis split the different charts based on Region, instead of on Company as in the chart in the original post?&lt;/P&gt;&lt;P&gt;When I put Region as the dimension, I get this chart, which is not what I want:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/4617.trellis2.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/4617.trellis2.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 19:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221286#M74108</guid>
      <dc:creator />
      <dc:date>2010-09-28T19:29:53Z</dc:date>
    </item>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221287#M74109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you used Product for your dimension.&lt;/P&gt;&lt;P&gt;Dimension is your x-axis on the chart.&lt;/P&gt;&lt;P&gt;On your original posting you have it listed by region. Now to limit the data to the companies, you do so in the expressions tab or by limiting it in your script. Which since you want to compare the data, it's easier to limit it in the script.&lt;/P&gt;&lt;P&gt;To replicate your chart from your original post, you can use Region as your dimension in your expressions tab, the following three expressions:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Carrier={'Acme'}, Product={'Product A'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Carrier={'Acme'}, Product={'Product B'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Carrier={'Acme'}, Product={'Product C'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Basically, the expressions are saying take the Sum of sales where carrier = acme and where product = specified product. With the data limited it will assign it to it's corresponding dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you were asking? If you can view it, I uploaded what I think you're referencing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 19:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221287#M74109</guid>
      <dc:creator />
      <dc:date>2010-09-28T19:47:04Z</dc:date>
    </item>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221288#M74110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bryan,&lt;/P&gt;&lt;P&gt;Yes, that is what I want, but all as one chart so that it will minimize/maximize all at once (instead of having to minimize/maximize them as two separate charts). The only way I can think of to do this is as a Trellis chart. Do you know how to do it all as one chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 21:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221288#M74110</guid>
      <dc:creator />
      <dc:date>2010-09-28T21:11:57Z</dc:date>
    </item>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221289#M74111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well to turn it into a trellis, I went to the dimensions tab, and clicked on the trellis button on the lower left, checked Enable Trellis Chart, hit OK.&lt;/P&gt;&lt;P&gt;Then I set the Dimension fields as Carrier and Region (in that order).&lt;/P&gt;&lt;P&gt;then for expressions:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Product={"Product A"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Product={"Product B"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Product={"Product C"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still trying to figure out how to make Acme show at all times though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 21:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221289#M74111</guid>
      <dc:creator />
      <dc:date>2010-09-28T21:36:14Z</dc:date>
    </item>
    <item>
      <title>How to keep one domain value constant in a Trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221290#M74112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking around and I can't find an elegant way to make always show Acme.&lt;/P&gt;&lt;P&gt;However, I did find a solution of the sort.&lt;/P&gt;&lt;P&gt;If you go to the corresponding list box, go to Selection Style Override and select either Windows Checkboxes or Corner tag. I think this is probably the most obvious way to show an end user they can keep Acme selected without explaining you can press ctrl to select multiple options.&lt;/P&gt;&lt;P&gt;Perhaps someone knows of a better way to keep one value always selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 22:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-keep-one-domain-value-constant-in-a-Trellis-chart/m-p/221290#M74112</guid>
      <dc:creator />
      <dc:date>2010-09-28T22:51:36Z</dc:date>
    </item>
  </channel>
</rss>

