<?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: Trellis Bar Chart Object Bug in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936782#M77211</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;any ideas? saw you answered another post that mentioned trellis, thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 20:10:27 GMT</pubDate>
    <dc:creator>jean1</dc:creator>
    <dc:date>2022-05-27T20:10:27Z</dc:date>
    <item>
      <title>Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936781#M77210</link>
      <description>&lt;P&gt;I think there may be a bug with the Trellis object. I get incorrect aggregate results when using a bar chart within the trellis object vs a KPI object. The formula I am using is;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ALT(&lt;BR /&gt;count(distinct {&amp;lt;&lt;BR /&gt;APPOINTMENT_STATUS_DETAILED = {'NOT SOLD','SOLD'}&lt;BR /&gt;$(vDimSet),&lt;BR /&gt;APPOINTMENT_TYPE_DESCRIPTION = {'1st Bridal Appointment','2nd Bridal Appointment'}&amp;gt;}&lt;/P&gt;
&lt;P&gt;IF (TRANSACTION_DATE &amp;gt;= [CUSTOMER TRUE SOCIETY ACTIVE DATE], PK_APPOINTMENT_ID) ),0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dimension I am using for both KPI and Bar Chart master objects is 'STORE_NAME'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On KPI the formula correctly picks up the dimension values and calculates/groups by STORE_NAME, but on bar chart it doesn't pick up the dimension values and repeats the summary amounts.&lt;/P&gt;
&lt;P&gt;KPI grouping and aggregating correctly;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeanette_4-1653681780561.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80525iCC97CA1A8AF73715/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeanette_4-1653681780561.png" alt="jeanette_4-1653681780561.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bar chart grouping but not aggregating/filtering to correct dim values;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeanette_3-1653681707679.png" style="width: 218px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80524iBB9CB8D2788975A2/image-dimensions/218x396?v=v2" width="218" height="396" role="button" title="jeanette_3-1653681707679.png" alt="jeanette_3-1653681707679.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;#trellis #barchart #qliksense #help&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 20:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936781#M77210</guid>
      <dc:creator>jean1</dc:creator>
      <dc:date>2022-05-27T20:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936782#M77211</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;any ideas? saw you answered another post that mentioned trellis, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 20:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936782#M77211</guid>
      <dc:creator>jean1</dc:creator>
      <dc:date>2022-05-27T20:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936856#M77223</link>
      <description>&lt;P&gt;try without alt&lt;/P&gt;
&lt;P&gt;ALSO ensure Advanced mode is turned on&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=count({&amp;lt;&lt;BR /&gt;APPOINTMENT_STATUS_DETAILED = {'NOT SOLD','SOLD'}&lt;BR /&gt;$(vDimSet)&lt;BR /&gt;,APPOINTMENT_TYPE_DESCRIPTION = {'1st Bridal Appointment','2nd Bridal Appointment'}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;,PK_APPOINTMENT_ID={"=TRANSACTION_DATE &amp;gt;= [CUSTOMER TRUE SOCIETY ACTIVE DATE]"}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;} PK_APPOINTMENT_ID)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also it would be best to create a flag field in load script&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(TRANSACTION_DATE &amp;gt;= [CUSTOMER TRUE SOCIETY ACTIVE DATE],1,0) as flag_field&lt;/P&gt;
&lt;P&gt;the use flag_field={'1'} in set analysis,&lt;/P&gt;
&lt;P&gt;this will be more performant than row level comparison in set analysis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer this for more&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=BKx3oO9rI7M" target="_blank"&gt;https://www.youtube.com/watch?v=BKx3oO9rI7M&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 13:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1936856#M77223</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-28T13:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1937787#M77303</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp; I tried the formula above and it unfortunately is still calculating it as the full aggregate for all stores instead of the # of appts just for that single store (the selected group by dim) in the bar graph. I do have advanced mode turned on -- it calculates correctly in the KPI viz, just not the bar graph viz. Any other ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1937787#M77303</guid>
      <dc:creator>jean1</dc:creator>
      <dc:date>2022-05-31T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1938768#M77367</link>
      <description>&lt;P&gt;Can you post a sample app here, unfortunately I don't have access to open qvf files&lt;/P&gt;
&lt;P&gt;but someone else will surely take a look&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6748"&gt;@stevedark&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 06:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1938768#M77367</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-02T06:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1938863#M77379</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182425"&gt;@jean1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be that the trellis chart is not expecting you to have a bar chart with no dimension. I don't see why you wouldn't just have a single bar chart with a bar for each store?&lt;/P&gt;
&lt;P&gt;Also, it looks like you are using set analysis to have a different expression for each store. Are there multiple measures in the trellis? The way the trellis should work is that you have a single expression and then you pick a dimension to create a chart for each trellis.&lt;/P&gt;
&lt;P&gt;I would definitely recommend going for a really simple expression (e.g.&amp;nbsp;&lt;STRONG&gt;count(distinct PK_APPOINTMENT_ID)&amp;nbsp;&lt;/STRONG&gt;) and then build it up bit by bit.&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 09:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1938863#M77379</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-02T09:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis Bar Chart Object Bug</title>
      <link>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1939080#M77399</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;I cannot share a sample app, apologies!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6748"&gt;@stevedark&lt;/a&gt;&amp;nbsp;What I posted above was after dropping all the other measures to have it be as simplistic as possible for testing. The actual viz is grouped by store, but there are multiple bars to represent performance in categories/etc.&lt;/P&gt;
&lt;P&gt;I do believe this is a bug specific to the bar chart/trellis viz combination. It worked fine in KPI viz, and I ended up recreating my original bar chart viz with the combo bar/line viz so I can assign color 'in' the viz instead of by using the 'master' functionalities so that I don't need to use Advanced mode to have the specific colors assigned correctly showing instead of the default rainbow colors. (This is why I was using advanced mode -- the colors assigned in the master viz/measures/dims were not rendering unless in advanced mode).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 16:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trellis-Bar-Chart-Object-Bug/m-p/1939080#M77399</guid>
      <dc:creator>jean1</dc:creator>
      <dc:date>2022-06-02T16:37:43Z</dc:date>
    </item>
  </channel>
</rss>

