<?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: Data about a user's employee in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-about-a-user-s-employee-in-a-chart/m-p/290267#M1193856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Juliiian, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I am having the same query. If you have found a solution please guide me.&lt;/P&gt;&lt;P&gt;I am also using Fact table with star schema as explained by you and while associating, I am able to associate only one column and not multiple columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one please help on how to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2017 13:43:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-09-08T13:43:54Z</dc:date>
    <item>
      <title>Data about a user's employee in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Data-about-a-user-s-employee-in-a-chart/m-p/290266#M1193855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a chart displaying data about a user and of their employees. The hierarchy is defined through the "Fact" table (according to the star schema, its a brand new thing to me, and I hope that I understood it well.) I transformed my source SQL database to the following :&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="5230" alt="schema.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/5230_schema.png" style="border-style: initial; border-color: initial; margin: 12px;" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables User and UserChild are actually the same.. (FirstNameChild = FirstName, etc.), it's the only way I found in order to associate the IdUserChild to the associated FirstName and LastName. What I would like to do now is to create a chart that counts the rows in DailyActivity and Activity_Contact associated with each IdUserChild (well.. IdUser in fact.. That's my problem.) The hierarchy is defined as follow in the Facts table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="137" style="height: 85px; width: 896px; border-width: 1px; border-color: #000000; border-style: solid;"&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;IdUser&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;IdUserChild&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;IdDailyActivity&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;&lt;STRONG&gt;IdActivityContact&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;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&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable $(userid), and I would like all their child to be displayed in a chart with their associated number of IdDailyActivity and IdActivity_Contact. My problem is that my dimension in the chart is associated with IdUser, and not IdUserChild. That means that every columns will be about the IdUser pointed by my variable $(userid), and not the actual employees of my user.. And nothing is associated with IdUserChild in my schema, but the User table. I hope I made myself clear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is defined as follows :&lt;STRONG&gt; =if(IdUser=userid, IdUserChild) &lt;/STRONG&gt;(this way, I am able to display the user's employee in a chart, and using FirstNameChild and LastNameChild I'm able to display their name, but I don't want to import my data twice in order to associate everything with IdUserChild too)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 13:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-about-a-user-s-employee-in-a-chart/m-p/290266#M1193855</guid>
      <dc:creator />
      <dc:date>2011-06-15T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data about a user's employee in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Data-about-a-user-s-employee-in-a-chart/m-p/290267#M1193856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Juliiian, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I am having the same query. If you have found a solution please guide me.&lt;/P&gt;&lt;P&gt;I am also using Fact table with star schema as explained by you and while associating, I am able to associate only one column and not multiple columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one please help on how to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 13:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-about-a-user-s-employee-in-a-chart/m-p/290267#M1193856</guid>
      <dc:creator />
      <dc:date>2017-09-08T13:43:54Z</dc:date>
    </item>
  </channel>
</rss>

