<?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: Dynamic field name based on dataset but ignoring filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055142#M938136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u select the filter, the data will change accordingly and the label also inline to the data what we are showcasing.&lt;/P&gt;&lt;P&gt;If I understand correctly,&lt;/P&gt;&lt;P&gt;What ever u made the filter selections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;QuarterYear), the data in chart should not change...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;In that case for label use max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;QuarterYear)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expression : sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;QuarterYear=&lt;/SPAN&gt;&amp;gt;}Revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 19:17:35 GMT</pubDate>
    <dc:creator>PradeepReddy</dc:creator>
    <dc:date>2016-02-05T19:17:35Z</dc:date>
    <item>
      <title>Dynamic field name based on dataset but ignoring filter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055141#M938135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, I am quite new in Qlikview and I have a question regarding to dynamic field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a dynamic field name based on my dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(SubStringCount(Concat(QuarterYear, '|'), '4Q15'))&amp;gt;0, '2015 Revenue',&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(QuarterYear, '|'), '&lt;SPAN style="font-size: 13.3333px;"&gt;3Q15'&lt;/SPAN&gt;))&amp;gt;0,'YTQ 3Q15 Revenue',&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(QuarterYear, '|'), '&lt;SPAN style="font-size: 13.3333px;"&gt;2Q15'&lt;/SPAN&gt;))&amp;gt;0,'YTQ 2Q15 Revenue',&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(QuarterYear, '|'), '&lt;SPAN style="font-size: 13.3333px;"&gt;1Q15'&lt;/SPAN&gt;))&amp;gt;0,'YTQ 1Q15 Revenue',&lt;/P&gt;&lt;P&gt;'Null'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;QuarterYear is the field in my dataset containing '3Q15', '2Q15', '1Q15'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I want a column name in a chart table to display 'YTQ 3Q15 Revenue' since my dataset only has '3Q15', '2Q15', '1Q15' now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When I import new dataset having '4Q15',&lt;SPAN style="font-size: 13.3333px;"&gt;'3Q15', '2Q15', '1Q15', the column name will display '2015 Revenue'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It works, however, the column name also get changed based on filter. If I select 2Q15 in a list box, the column name will follow and change to 'YTQ 2Q15 Revenue'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me on this, dynamic column name based on dataset but fix to filter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Wing Fung Ng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 02:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055141#M938135</guid>
      <dc:creator>stevenkasian</dc:creator>
      <dc:date>2016-02-05T02:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic field name based on dataset but ignoring filter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055142#M938136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u select the filter, the data will change accordingly and the label also inline to the data what we are showcasing.&lt;/P&gt;&lt;P&gt;If I understand correctly,&lt;/P&gt;&lt;P&gt;What ever u made the filter selections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;QuarterYear), the data in chart should not change...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;In that case for label use max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;QuarterYear)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expression : sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;QuarterYear=&lt;/SPAN&gt;&amp;gt;}Revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 19:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055142#M938136</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-02-05T19:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic field name based on dataset but ignoring filter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055143#M938137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for amusing my thought. Finally I got this. vYear3 is the variable I can set, like 2015, 2016, 2017. Generally I fixed the year as my preset variable vYear3, and below MAX function found the maximum quarter I have in the dataset disregard the filter.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;'YTQ 'max( {&amp;lt;Year={$(vYear3)}, Quarter = &amp;gt;}&amp;nbsp; left(Quarter,1))&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;'Q'&amp;amp;right(vYear3,2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It returns 'YTQ 3Q15' if my dataset has 1Q,2Q,3Q data for 2015. No impact from any filters.&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;Thanks!!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 01:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-field-name-based-on-dataset-but-ignoring-filter/m-p/1055143#M938137</guid>
      <dc:creator>stevenkasian</dc:creator>
      <dc:date>2016-02-06T01:15:43Z</dc:date>
    </item>
  </channel>
</rss>

