<?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 Charting / Calculations Based on Fields Specified in Lookup Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384109#M143423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Warning! Danger Will Robinson.&amp;nbsp; I am not a developer. I don't even play one on TV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a simple dashboard for a series of metrics that we look at regarding our storage space.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a large number of metrics which are really just simple ratios and rather than clutter the screen with ever permutation, I would rather we have one nicely formated dashboard where the user can select which ratio they are interested in exploring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To that end, I created a table which includes a list of metrics and the field names that would belong in the numerator or denominator when this metric is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Metric&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numerator&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Denominator&lt;/P&gt;&lt;P&gt;M1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_B&lt;/P&gt;&lt;P&gt;M2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_C&lt;/P&gt;&lt;P&gt;M3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is for the user to select a metric from the list and then have the charts use the appropriate fields.&amp;nbsp; So, if a user selected M2, certain charts would be based off of Field_A, other charts would be based off of Field_C and finally some charts would be based off of Field_A and Field_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example, the metrics have to do with how much storage we have in use and/or we have available in our environment.&amp;nbsp; The data is, of course, extremely made up for this example.&amp;nbsp; I created a series of charts as I would like them with one of the numerator / denominator combinations but it doesn't currently change when a selection is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another example, I used a bunch of if/then/else branching to accomplish this goal but I want the number of metrics to be dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 21:41:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-04T21:41:53Z</dc:date>
    <item>
      <title>Charting / Calculations Based on Fields Specified in Lookup Table</title>
      <link>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384109#M143423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Warning! Danger Will Robinson.&amp;nbsp; I am not a developer. I don't even play one on TV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a simple dashboard for a series of metrics that we look at regarding our storage space.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a large number of metrics which are really just simple ratios and rather than clutter the screen with ever permutation, I would rather we have one nicely formated dashboard where the user can select which ratio they are interested in exploring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To that end, I created a table which includes a list of metrics and the field names that would belong in the numerator or denominator when this metric is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Metric&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numerator&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Denominator&lt;/P&gt;&lt;P&gt;M1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_B&lt;/P&gt;&lt;P&gt;M2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_C&lt;/P&gt;&lt;P&gt;M3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is for the user to select a metric from the list and then have the charts use the appropriate fields.&amp;nbsp; So, if a user selected M2, certain charts would be based off of Field_A, other charts would be based off of Field_C and finally some charts would be based off of Field_A and Field_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example, the metrics have to do with how much storage we have in use and/or we have available in our environment.&amp;nbsp; The data is, of course, extremely made up for this example.&amp;nbsp; I created a series of charts as I would like them with one of the numerator / denominator combinations but it doesn't currently change when a selection is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another example, I used a bunch of if/then/else branching to accomplish this goal but I want the number of metrics to be dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 21:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384109#M143423</guid>
      <dc:creator />
      <dc:date>2012-09-04T21:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Charting / Calculations Based on Fields Specified in Lookup Table</title>
      <link>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384110#M143424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your formula could be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ($(=only(METRIC_NUMERATOR)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM ($(=only(METRIC_DENOMINATOR)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dollar sign expansion will be replaced with the text in the respective field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 22:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384110#M143424</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-09-04T22:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Charting / Calculations Based on Fields Specified in Lookup Table</title>
      <link>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384111#M143425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like I have a new super-power.&amp;nbsp; This is exactly what I needed.&amp;nbsp; I updated my demo file so that anyone looking to do something similar would have it to start with .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;PeggySue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 13:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charting-Calculations-Based-on-Fields-Specified-in-Lookup-Table/m-p/384111#M143425</guid>
      <dc:creator />
      <dc:date>2012-09-06T13:39:06Z</dc:date>
    </item>
  </channel>
</rss>

