<?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: Calculate/Expression from a specific table loaded into Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523472#M480294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I should have mentioned that, for table2 there's two fields that can be used as an unique field, Last Name and First Name. I think I can load to combine them to be "full name". This won't always be a unique field though since some people may have the same first and last names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, even after combining these two fields, I still don't have a solution of how to achieve what i mentioned previously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 03:39:55 GMT</pubDate>
    <dc:creator>samuel_lin</dc:creator>
    <dc:date>2013-12-05T03:39:55Z</dc:date>
    <item>
      <title>Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523465#M480287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables, and I am using Email as the key field to connect the two. I'd like to make a bar chart to count Emails from Table2 only. But since these two tables are connected by "Email", I was not able to do it successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some description for Table2 Email field, The same email may occur 0, 1 or more than 1 times denoting frequency (whereas Email in table1 will only show up 1time), so somebody's email may show up 6 times meaning this person has showed up 6times. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's another thing that I'd like to accomplish, from table2, I'd like to do a count of those whose email has show up for more than 10 times, between 5 to 10 times, 2 to 4 times and 1 time. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apology that I may not have described my data table well, please ask me questions if you find my description/question unclear. Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sameul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 20:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523465#M480287</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-03T20:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523466#M480288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel,&lt;/P&gt;&lt;P&gt;See attached.&amp;nbsp; Maybe it is not exactly what you need, but should be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 21:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523466#M480288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T21:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523467#M480289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your response. I am currently using evaluation edition/version of Qlikview, and I have reached the max limit of opening qvw files. Do you mind post the lines your use for the expression and maybe some screenshots?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 21:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523467#M480289</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-03T21:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523468#M480290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can describe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1 - only one field Email.&amp;nbsp; Contains all values.&lt;BR /&gt;Table2 - field Email, contains subset of the values from Table1.&amp;nbsp; Field "test" which is a copy of Email.&amp;nbsp; Field ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart where Emails from Table2 are counted has expression&lt;BR /&gt;count({&amp;lt;ID={*}&amp;gt;} distinct Email)&lt;BR /&gt;I didn't use any dimensions here, but you can if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart where Emails are counted per frequency has four expressions&lt;BR /&gt;&amp;gt;10:&amp;nbsp; count({&amp;lt;ID={*}&amp;gt;} if(aggr(count(test),Email)&amp;gt;10,Email))&lt;BR /&gt;5 to 10:&amp;nbsp; count({&amp;lt;ID={*}&amp;gt;} if(aggr(count(test),Email)&amp;gt;=5 and aggr(count(test),Email)&amp;lt;=10,Email))&lt;BR /&gt;2 to 4:&amp;nbsp; count({&amp;lt;ID={*}&amp;gt;} if(aggr(count(test),Email)&amp;gt;=2 and aggr(count(test),Email)&amp;lt;=4,Email))&lt;BR /&gt;1:&amp;nbsp; count({&amp;lt;ID={*}&amp;gt;} if(aggr(count(test),Email)=1,Email))&lt;BR /&gt;No dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 21:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523468#M480290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T21:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523469#M480291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, i will give it a try and get back to you soon, many thanks~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 21:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523469#M480291</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-03T21:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523470#M480292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for taking the time. For the first expression, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;ID={*}&amp;gt;} distinct Email)&lt;/SPAN&gt;, it generates a bar chart of one bar giving the number of email in both table (or maybe just one), but note that Table1 and Table2 both share the same name for field Email. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, the email list contain in Table1 may not be a whole list (meaning that the email contain in table2 may not be found in Table2) **~**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For frequency, I think your code is getting pretty close, right now it's it's showing only one bar (the same bar from **~** (i think you should be able to understand it once seeing the picture2 I attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am hoping that these charts can be linked to the rest of the database, meaning that if I click on the frequency more than 10, then my tables, charts and other list boxes will be updated simultaneously (right now it doesn't seem like it's doing that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gratefully thank you for the help!&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50001_Picture1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50002_Picture2.png" style="width: 620px; height: 390px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 00:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523470#M480292</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-05T00:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523471#M480293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought to add a free more things, hopefully to make it more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EmailTest is generated after I load table 2 with the code below (where TableZYX is Table2)&lt;/P&gt;&lt;P&gt;LOAD Email as EmailTest&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Current Testing File\XYZ.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is ZYX);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I can easily create a chart like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simply with the expression: count(EmailTest) with EmailTest as the dimension., but the problem is that, EmailTest isn't linked to the rest of the Database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50004_Picture3.png" /&gt;&lt;/P&gt;&lt;P&gt;Also, when I tried to create a similar chart with count(Email)-1 with Email as the dimension, looks like it only look at the Email in Table1 but NOT both Table1 and Table2 (oh and by the way, the Email in Table1 is also not unique, so it can show up for more than once)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture4.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50005_Picture4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 01:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523471#M480293</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-05T01:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523472#M480294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I should have mentioned that, for table2 there's two fields that can be used as an unique field, Last Name and First Name. I think I can load to combine them to be "full name". This won't always be a unique field though since some people may have the same first and last names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, even after combining these two fields, I still don't have a solution of how to achieve what i mentioned previously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 03:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523472#M480294</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-05T03:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523473#M480295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, it doesn't matter if Table1 has all Email values or not.&amp;nbsp; As soon as ID field in the expression count({&amp;lt;ID={*}&amp;gt;} distinct Email) belongs to the Table2, the result will be only fort the Table2.&lt;/P&gt;&lt;P&gt;Second, the frequency chart which shows only one bar.&amp;nbsp; Either there are no results or you missed something.&amp;nbsp; Actually, I see at least one the problem - you created EmailTest as logical island, not connected to anything.&amp;nbsp; Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp; &lt;STRONG&gt; Email,&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Email as EmailTest&lt;BR /&gt;FROM [Current Testing File\XYZ.xlsx] (ooxml, embedded labels, table is ZYX);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need further help, upload your application, I'll take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523473#M480295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-05T16:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523474#M480296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked. Could you please tell me what's the difference? Why it makes a difference loading Email one more time? I have some limited programming background, it has been a hard time to understand Qlikview's programming language. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic4.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50083_Pic4.png" style="width: 620px; height: 404px;" /&gt;&lt;/P&gt;&lt;P&gt;This is exactly what I wanted, EXCEPT that it's NOT clickable. You know how bar chart's bars are clickable, but this one is not for some reason, But when I click on other bar chart (or list boxes) this chart does get reloaded so it's attached with the rest of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need my qlikview file to solve this problem? If I pass you my qvw file, do I need to give you my excel data file as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 19:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523474#M480296</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-05T19:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523475#M480297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You created field TestEmail as data island - not connect to the rest of the data model.&amp;nbsp; Hence, it didn't do it any good.&amp;nbsp; Nothing is wrong in using data islands, they have there usage, but not here.&lt;BR /&gt;The field Email links it to the other tables.&amp;nbsp; In my example, which you cannot open, I simply created additional field in the existing Table2 rather than in a separate table.&amp;nbsp; Logically it doesn't matter in your case.&amp;nbsp; But in general the fewer tables the better.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Next, nothing's changing on click because in this case &lt;STRONG&gt;each bar represents separate expression&lt;/STRONG&gt;.&amp;nbsp; Typically it is not the case - there is one expression, and &lt;STRONG&gt;bars represent values of the chart dimension&lt;/STRONG&gt;.&amp;nbsp; Clicking on bar selects value in the dimension.&amp;nbsp; In the "dimensionless" chart, like here,&amp;nbsp; there is nothing to select.&lt;BR /&gt;I can't tell if it is possible in your case.&amp;nbsp; Upload your application (only qvw), and tell me what you want to get selected on click.&amp;nbsp; I'll try when I have time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 20:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523475#M480297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-05T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523476#M480298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the explanation. It's superly appreciated~~&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The attached is my Qlikview File, I have many tabs, the one that I am using to test is called "Testing."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(I created a new field called "Blank Dimension," and it's just "Blank Dimension" for all the cells in the column in Table2 hoping to use Blank Dimension as the dimension to make bars clickable, no luck)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you so much for taking the time helping me to get a solution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am hoping for the good news soon~&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 00:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523476#M480298</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-06T00:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523477#M480299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, you can't use a field in your expressions if the field doesn't exist.&amp;nbsp; Expression&lt;BR /&gt;count({&amp;lt;&lt;STRONG&gt;ID&lt;/STRONG&gt;={*}&amp;gt;} distinct Email)&lt;BR /&gt;was about my example which you couldn't open.&amp;nbsp; I mentioned that there was field ID in Table2.&amp;nbsp; You don't have it, so the expression is incorrect.&amp;nbsp; In your case is better to use simple&lt;BR /&gt;&lt;STRONG&gt;count(distinct EmailTest)&lt;/STRONG&gt;&lt;BR /&gt;Because the field EmailTest is what you want to count, and it exists only in Table2.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Second, it is possible to make the bars "clickable".&amp;nbsp; Here is how:&lt;BR /&gt;Create calculated dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dual(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(aggr(count([EmailTest]),Email)&amp;gt;10, '&amp;gt;10 Appt',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=5, '5 to 10 Appt',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=2, '2 to 4 Appt', '1 Appt')))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(aggr(count([EmailTest]),Email)&amp;gt;10, 1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=5, 2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=2, 3, 4)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the sort tab, sort it by Numeric Value.&lt;BR /&gt;Remove all expressions and replace with one expression:&lt;BR /&gt;&lt;STRONG&gt;count(distinct EmailTest).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now clicking on a bar selects Emails that are counted in this bar.&lt;/P&gt;&lt;P&gt;Additional recommendation - if you're going to keep dimension Program, check the box "suppress when value is null".&lt;/P&gt;&lt;P&gt;Hope I've answered all your questions this time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;BR /&gt;PS: Please don't upload large files.&amp;nbsp; You can always reduce data and create a smaller version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 14:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523477#M480299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-06T14:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523478#M480300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry about the large file, I will try to attach a smaller size the next time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really do admire your understanding and skills over Qlikview coding, how should I train myself to be better? I should have mentioned that I am still a college student, I really enjoy working on Qlikview and this is my second time evaluating Qlikview for an organization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am feeling about right to close this close this case to become "answered." There's one more thing that I wanted to ask, how do I deselect Qlikview? I think I remember there's a way to do it. For what I wanted to accomplish in this thread, will I be able to have a bar for 0 time and do the count in the same way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fall semester is about to be over, these next two weeks are finals weeks. I am hoping to work on Qlikview some more in January, If I have development questions, may I forward my posts in Qlikview community to you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 18:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523478#M480300</guid>
      <dc:creator>samuel_lin</dc:creator>
      <dc:date>2013-12-06T18:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calculate/Expression from a specific table loaded into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523479#M480301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It possible to count Emails that don't have EmailTest associated with them.&amp;nbsp; Try to change chart's calculated dimension to this&lt;/P&gt;&lt;P&gt;=dual(&lt;/P&gt;&lt;P&gt;if(aggr(count([EmailTest]),Email)&amp;gt;10, '&amp;gt;10 Appt',&lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=5, '5 to 10 Appt',&lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=2, '2 to 4 Appt', &lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)=1, '1 Appt', &lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)=0, '0 Appt')))))&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;if(aggr(count([EmailTest]),Email)&amp;gt;10, 1,&lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=5, 2,&lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)&amp;gt;=2, 3, &lt;/P&gt;&lt;P&gt; if(aggr(count([EmailTest]),Email)=1, 4, 5))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, change the expression to this:&lt;/P&gt;&lt;P&gt;count(distinct Email)&lt;/P&gt;&lt;P&gt;I'm not sure you'll like it because 0's bar is way larger than others.&amp;nbsp; Anyway, for the sake of trying...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure you'll be back to QlikView, it is addictive &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&amp;nbsp; You'll be better with time.&amp;nbsp; Go through the QV training materials, try exercises, maybe get a book.&amp;nbsp; The best training - try to answer questions on QlikCommunity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not recommend forwarding posts to me (or to anyone in particular) directly.&amp;nbsp; There are hundreds of very good QV specialists here, many of them better than I, and they'll be happy to help.&amp;nbsp; And I am not always available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good like with your finals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 20:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-from-a-specific-table-loaded-into-Qlikview/m-p/523479#M480301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-06T20:16:01Z</dc:date>
    </item>
  </channel>
</rss>

