<?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: Label Names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767541#M535981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Index(GetFieldSelections(Scenario_Desc), 'FULL YEAR BUDGET'), 'Full Year Budget',&lt;/P&gt;&lt;P&gt;If(Index(GetFieldSelections(Scenario_Desc), 'CUMULATIVE BUDGETS'), 'Budget To Date',))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Budgets one, and the same but with the two field values for Actual, and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 13:08:37 GMT</pubDate>
    <dc:creator>morganaaron</dc:creator>
    <dc:date>2014-12-03T13:08:37Z</dc:date>
    <item>
      <title>Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767536#M535976</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;I written some code to change a field name depending on the criteria selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two fields if only one is selected the code works fine, however if both are selected one field name is left blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if("Scenario_Desc"='FULL YEAR BUDGET','Annual Budget',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if("Scenario_Desc"='CUMULATIVE BUDGETS','Budget To Date',''))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if("Scenario_Desc"='YEAR END FORECAST','Year End Forecast',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if("Scenario_Desc"='CUMULATIVE ACTUALS','Actual To Date',''))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want what was the Budget Column to say Annual Budget or Budget To Date depending on what is selected and similarly for what was the actual column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a picture with lines showing what I want where.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your continued help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 11:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767536#M535976</guid>
      <dc:creator />
      <dc:date>2014-12-03T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767537#M535977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi if you want to be able to change the budget column name and actual&lt;/P&gt;&lt;P&gt;each one by a different selection ,&lt;/P&gt;&lt;P&gt;then you need to create to separate fields&lt;/P&gt;&lt;P&gt;because as of right now if you only select "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CUMULATIVE ACTUALS&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the budget expression returns null because both if statements aren't true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other option is to create one field with the values : Actual , Forecast&lt;/P&gt;&lt;P&gt;and then your expressions will look lik this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if("Scenario_Desc"='Forecast','Annual Budget',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if("Scenario_Desc"='Actual','Budget To Date',''))&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if("Scenario_Desc"='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Forecast&lt;/SPAN&gt;','Year End Forecast',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if("Scenario_Desc"='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actual&lt;/SPAN&gt;','Actual To Date',''))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 12:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767537#M535977</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-12-03T12:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767538#M535978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option you have is to use concat and index to deal with multiple selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Index( Concat([Scenario_Desc]),'FULL YEAR BUDGET')&amp;gt;0, 'Annual Budget',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Index( Concat([Scenario_Desc]),'CUMULATIVE BUDGETS')&amp;gt;0,'Budget To Date',''))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 12:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767538#M535978</guid>
      <dc:creator />
      <dc:date>2014-12-03T12:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767539#M535979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe &amp;amp; Liron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both options work if I select one Scenario Description, however I get blanks if two are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example I attached the user must select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of 'FULL YEAR BUDGET' or ,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;'CUMULATIVE BUDGETS'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one of 'YEAR END FORECAST' or 'CUMULATIVE ACTUALS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So both columns should always have a description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 12:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767539#M535979</guid>
      <dc:creator />
      <dc:date>2014-12-03T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767540#M535980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;the above works for multiple selections, looks like 'Business Stream' has no budget and that is what is causing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just need to modify slightly to ignore that selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Index( Concat({&amp;lt;[Business Stream]=&amp;gt;} [Scenario_Desc]),'FULL YEAR BUDGET')&amp;gt;0, 'Annual Budget',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Index( Concat({&amp;lt;[Business Stream]=&amp;gt;} [Scenario_Desc]),'CUMULATIVE BUDGETS')&amp;gt;0,'Budget To Date',''))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 12:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767540#M535980</guid>
      <dc:creator />
      <dc:date>2014-12-03T12:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767541#M535981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Index(GetFieldSelections(Scenario_Desc), 'FULL YEAR BUDGET'), 'Full Year Budget',&lt;/P&gt;&lt;P&gt;If(Index(GetFieldSelections(Scenario_Desc), 'CUMULATIVE BUDGETS'), 'Budget To Date',))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Budgets one, and the same but with the two field values for Actual, and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 13:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767541#M535981</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-12-03T13:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Label Names</title>
      <link>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767542#M535982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works better actually Andrew, I would go with it, doesn't matter what other selections you make then apart from Business Stream.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 13:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-Names/m-p/767542#M535982</guid>
      <dc:creator />
      <dc:date>2014-12-03T13:22:15Z</dc:date>
    </item>
  </channel>
</rss>

