<?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 CREATE A QLIK &amp;quot;AD HOC&amp;quot; REPORT AND CALCULATE COST in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1531727#M508570</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I only have personal edition, so I can't open your application. Not sure I follow what you mean about the 2 primary keys.&lt;/P&gt;&lt;P&gt;If we take the first 3 columns where there is a hierarchical relationship;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190117_2.png" style="width: 668px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3974i78DE53607D7EE812/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190117_2.png" alt="20190117_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then if I do some find/replace stuff in my toy model then I can get;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190117_3.png" style="width: 875px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3975i773127C4F504F33A/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190117_3.png" alt="20190117_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However looking at the columns to the right that would seem to break down - the procedure code and operator type look like they follow a different hierarchy. I would also note that your materials&amp;nbsp;appear in more than one of the pharma/procedure/operator buckets.&lt;/P&gt;&lt;P&gt;I am sure it is possible to model the two roll ups, although think you will struggle to get the exact output you want in the table &amp;amp; the modelling may make other analysis more difficult …&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 17:14:36 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2019-01-17T17:14:36Z</dc:date>
    <item>
      <title>HOW TO CREATE A QLIK "AD HOC" REPORT AND CALCULATE COST</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1525529#M508567</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I apologize first of all if I ask for elementary things.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The question is...i have a articulate database that contain a lot of information in different tabels.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I perfectly create the script that gives me all the information necessary to calculate what i want...but i have a lot of problems to create a dinamic table that give me instantly all the information to calculate the costs of a haemodynamic procedure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Currently I have a table that provides in output the results as shown in the attached excel (SHEET 1-TEST_FROMAT_ACTUAL).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The result is provided by a qlik table configured as visible in the attached screenshots (table_1,t&lt;SPAN&gt;able_2, table_3, table_4).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NOW I HAVE 2 OBJECTIVES:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--1--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because each procedure have a different number of fields utilized...(es. is possible that there are 4 operator, 10 material utilized, 5 procedure executed....and in another procedure 2&amp;nbsp;operator, 5 material utilized, 3 procedure executed) ...I MUST CREATE A TABLE THAT DYNAMICALLY INSERT ONCE IN THE ID ROW ALL THE FIELDS (The desidered output is&amp;nbsp;showed in the attached excel (SHEET 2-TEST_FROMAT_IDEAL).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--2--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because the fields&amp;nbsp;are entities without economic value, I have to calculate the value of each field a posteriori!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And so...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.1 I must create a table or excel that assign an economic value to each field?? How I can do it and how i can insert this information inside the qlik table??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.2.&amp;nbsp;I have to be able to calculate every economic value as shown&amp;nbsp;&amp;nbsp;in the attached excel (SHEET 3-TEST_FROMAT_IDEAL_FINAL)...How i can put this information inside the qlik dashbboard?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope that someone can help me!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TY so much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 16:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1525529#M508567</guid>
      <dc:creator>gabroteddy</dc:creator>
      <dc:date>2019-04-30T16:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CREATE A QLIK "AD HOC" REPORT AND CALCULATE COST</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1530853#M508568</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Looking at your desired output it is possible to get some of the way there using calculated dimensions for some of the numbers, rather than fields, like the below;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190116_1.png" style="width: 785px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3833i6E835E4E7C46E423/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190116_1.png" alt="20190116_1.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In my toy application I have linked 3 tables with different levels of granularity with IDs (shown in the tables at the top), rather that joining.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is one way of approaching this, there are others, check out this &amp;amp; similar &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Fact-Table-with-Mixed-Granularity/ba-p/1468238" target="_self"&gt;Fact-Table-with-Mixed-Granularity&lt;/A&gt;.&amp;nbsp; Linking then you can then either join or associate the values required for your calculations (for simplicity I've just put in Cost1-3).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;One think that is worth challenging is how the end users will interact with the rest of the data in the model &amp;amp; would there be a better way of allowing them to see/work with these numbers without recreating the Excel (weaning users off just wanting the same thing as Excel is hard, but can pay off over time).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Chris.&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Jan 2019 10:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1530853#M508568</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-01-16T10:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CREATE A QLIK "AD HOC" REPORT AND CALCULATE COST</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1531697#M508569</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately it is not exactly what I expect. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In particular, my first goal is to obtain a table that for a single primary key (not 2 like in your example) could have more than one&amp;nbsp;row for the other values ​​preloaded via script like the example in excel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But now the result of the qlik dashborad is like in the attached file HAEMODEXAMPLE.qvw...in wich you ca see that there are replicated field (es.material or pharma).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How i can resolve?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;A&lt;SPAN&gt;fter I have solved the problem of formatting the table I will deal with the question of cost calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 16:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1531697#M508569</guid>
      <dc:creator>gabroteddy</dc:creator>
      <dc:date>2019-01-17T16:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CREATE A QLIK "AD HOC" REPORT AND CALCULATE COST</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1531727#M508570</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I only have personal edition, so I can't open your application. Not sure I follow what you mean about the 2 primary keys.&lt;/P&gt;&lt;P&gt;If we take the first 3 columns where there is a hierarchical relationship;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190117_2.png" style="width: 668px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3974i78DE53607D7EE812/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190117_2.png" alt="20190117_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then if I do some find/replace stuff in my toy model then I can get;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190117_3.png" style="width: 875px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3975i773127C4F504F33A/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190117_3.png" alt="20190117_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However looking at the columns to the right that would seem to break down - the procedure code and operator type look like they follow a different hierarchy. I would also note that your materials&amp;nbsp;appear in more than one of the pharma/procedure/operator buckets.&lt;/P&gt;&lt;P&gt;I am sure it is possible to model the two roll ups, although think you will struggle to get the exact output you want in the table &amp;amp; the modelling may make other analysis more difficult …&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 17:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CREATE-A-QLIK-quot-AD-HOC-quot-REPORT-AND-CALCULATE-COST/m-p/1531727#M508570</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-01-17T17:14:36Z</dc:date>
    </item>
  </channel>
</rss>

