<?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: How to set a Dimension value equal to another selected value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581294#M1119070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the concat function. This method works well if your field values do not contain the delimiter that is ,&lt;/P&gt;&lt;P&gt;Ex: Budget is &amp;lt;BClientID&amp;gt; and the user selects the ClientID through a ListBox. ClientID and BClientID have the same values&lt;/P&gt;&lt;P&gt;Here below, the methd works for integer and string values. If you have integer, you may remove the part at the right and left of concat puting some extra double quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BClientID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;$(='"' &amp;amp; concat(Distinct ClientID, '","') &amp;amp; '"')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Budget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please adapt to your case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 09:05:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-29T09:05:41Z</dc:date>
    <item>
      <title>How to set a Dimension value equal to another selected value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581292#M1119068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help on doing a sum of values so I can compare some Budget figures with my actual figures. My actual figures are in a Facttable and is related to a Posting Date dimension. By Budget numbers are in a different table which is linked to a Budget Date dimension. The Fact table and budget numbers are linked through a Campaign table, so I can get my budget and actuals by campaigns.&lt;/P&gt;&lt;P&gt;The problem I'm having is that when I select e.g. December 2013 as my PostingDate , then I'd like to set "select" that for my Budget Date as well. To me it sounds quite simple, but I haven't had much luck with it yet.. :-(.&lt;/P&gt;&lt;P&gt;I have made the following expression to give the budget numbers, but that doesn't seems to work&amp;nbsp; (and I've tried different variations as well.... )-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BudgetDate_YearMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=$(PostingDate_YearMonth)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;acbudget_Numbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just trying to say that the YearMonth value I have selected as my PostingDate should also be set as the Budget Date, but I simply don't know how to do it correctly? I'm still new to QV, so I'm still not fluent in Set analysis - and also I'm not sure if Set analysis is the right way to solve the issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581292#M1119068</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2014-01-29T07:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a Dimension value equal to another selected value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581293#M1119069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you want the selections to mirror each other exactly and the time scales are identical, which would make sense with your current set analysis, you can use P (possible) instead, so maybe try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;BudgetDate_YearMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; =P&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;(PostingDate_YearMonth)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;acbudget_Numbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581293#M1119069</guid>
      <dc:creator />
      <dc:date>2014-01-29T08:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a Dimension value equal to another selected value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581294#M1119070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the concat function. This method works well if your field values do not contain the delimiter that is ,&lt;/P&gt;&lt;P&gt;Ex: Budget is &amp;lt;BClientID&amp;gt; and the user selects the ClientID through a ListBox. ClientID and BClientID have the same values&lt;/P&gt;&lt;P&gt;Here below, the methd works for integer and string values. If you have integer, you may remove the part at the right and left of concat puting some extra double quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BClientID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;$(='"' &amp;amp; concat(Distinct ClientID, '","') &amp;amp; '"')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Budget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please adapt to your case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 09:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581294#M1119070</guid>
      <dc:creator />
      <dc:date>2014-01-29T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a Dimension value equal to another selected value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581295#M1119071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot - this seems to work. I'm not sure I fully understand why the P is needed though but I'll have to read up on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 20:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-Dimension-value-equal-to-another-selected-value/m-p/581295#M1119071</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2014-01-29T20:00:45Z</dc:date>
    </item>
  </channel>
</rss>

