<?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 Changing dimension values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334696#M123371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i'll try to solve this problem similar to what you suggeted (using 2 charts, showing each depending on the user identity).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 09:14:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-06T09:14:03Z</dc:date>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334690#M123365</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;Is there a way to change dimension values when a user log in into a QlikView document?&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;changing a dimension from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="1" cellspacing="0" class="jiveBorder" height="75" style="border: 1px solid #000000; height: 64px; width: 193px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;CustomerID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;CustomerName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Guy D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Yuri A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Mira L&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To (when a specific user log into the document):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="1" cellspacing="0" class="jiveBorder" height="75" style="height: 64px; width: 193px;"&gt;&lt;TBODY&gt;&lt;TR style="border: inherit;"&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;CustomerID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;CustomerName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: inherit;"&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Guy D&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit;"&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Other Customer&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit;"&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Other Customer&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 18:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334690#M123365</guid>
      <dc:creator />
      <dc:date>2012-06-02T18:07:09Z</dc:date>
    </item>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334691#M123366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the users are authenticated on connection, then you can use OsUser() to identify the user. For display purposes you may want lookup table that connects the OsUser() value with the displayed customer name (let's day the two fields OsUserName and CustomerName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(OsUser() = OsUserName, CustomerName, 'Other Customer')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be necessary to do some tweaking of the chart expressions to work with this dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2012 11:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334691#M123366</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-03T11:23:09Z</dc:date>
    </item>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334692#M123367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could look into using Section Access, which can be used to limit data based on your user access rights to the document. The main difference towards the using expression logic, is that with Section access the datat is actually not availabel for the user while with expressions the data would still be in the docuemtns data model and therby potentially accessible for the user. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2012 19:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334692#M123367</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2012-06-03T19:14:59Z</dc:date>
    </item>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334693#M123368</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;The Problem is that i actually want the user to see others data, but only witout their names attached to it... therefore i would like the Customer dimension to be changed - so naturally all the data is in the document, but the user can see only its own name and "Other Customer" ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 10:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334693#M123368</guid>
      <dc:creator />
      <dc:date>2012-06-04T10:59:29Z</dc:date>
    </item>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334694#M123369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did as you told, it is working fine when using regular charts, but i have a chart that has Cyclic Group, and in the expression it goes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;$(&lt;STRONG&gt;vDim&lt;/STRONG&gt;) = {"=Sum( {$&amp;lt;Date_Num={'&amp;gt;=$(=vPeriodMinDate)}&amp;gt;} network_gross_revenue) &amp;gt;= $(vPubMinRev)"} &amp;gt;} network_gross_revenue )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When &lt;STRONG&gt;vDim &lt;/STRONG&gt;is the dimension name (=getcurrentfield(CyclicGroup)). &lt;/P&gt;&lt;P&gt;And as you suggested, the dimension in the case of the Customer should be an expression, and there is where the problem: The whole Set Analysis expression could not evaluate the &lt;/P&gt;&lt;P&gt;$(&lt;STRONG&gt;vDim&lt;/STRONG&gt;) when it has an expression like "&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;If(OsUser() = OsUserName, CustomerName, 'Other Customer')&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334694#M123369</guid>
      <dc:creator />
      <dc:date>2012-06-04T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334695#M123370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never tries putting a calculated dimension into a cyclic group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would consider two or more charts, conditionally hidden. Perhaps one to display when getcurrentfield() returns a normal field, and another to display when getcurrentfield() returns the calc dimension (with the chart expression adapted as necessary). Use getcurrentfield() in a conditional expression offor the show condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 18:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334695#M123370</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-04T18:56:57Z</dc:date>
    </item>
    <item>
      <title>Changing dimension values</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334696#M123371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i'll try to solve this problem similar to what you suggeted (using 2 charts, showing each depending on the user identity).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 09:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-dimension-values/m-p/334696#M123371</guid>
      <dc:creator />
      <dc:date>2012-06-06T09:14:03Z</dc:date>
    </item>
  </channel>
</rss>

