<?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 Represent Pivot Table data using a Gauge in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Represent-Pivot-Table-data-using-a-Gauge/m-p/1532959#M40320</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Yesterday I posted a question on representing pivot table data using a Gauge.&lt;/P&gt;&lt;P&gt;I am sorry cos the post got accidentally deleted and thought&amp;nbsp;of re-typing&amp;nbsp;it again.&lt;/P&gt;&lt;P&gt;The data is around analysing survey results for two product (named, P100 and P101) and my issue is, when I select a particular question under a product (please refer the attached screenshot for&amp;nbsp; "Data Set Outcome"), the Gauge shows the outcome for both the products, despite I want to see only for the "P100" product.&lt;/P&gt;&lt;P&gt;In order to avoid this, I created a table named "Product ID" and i got to select a product (for example, "P100") to only view the data for a product.&lt;/P&gt;&lt;P&gt;The expression I have used for the Gauge is, "=Num(Sum([Audit YES])/Sum(Aggr(Sum([Audit Total]),KEY1)),'#,##0%')".&lt;/P&gt;&lt;P&gt;Note: "KEY1" is a key created using&amp;nbsp; "Product_ID" and "Criteria" fields to obtain unique identifiers for each data row.&lt;/P&gt;&lt;P&gt;Despite, this gives the outcome expected, is there any other way to break the relationship among a single "Question" under different products so that, if a user clicks on a particular question, the Gauge will show the results only for the selected question under the expanded product.&lt;/P&gt;&lt;P&gt;Please find the attached data sheet and the data model viewer screenshots herewith.&lt;/P&gt;&lt;P&gt;Apologies for not attaching the .qvf file cos I don't have the access to the qlik server at my work place.&lt;/P&gt;&lt;P&gt;Please let me know if there is a different way to get rid of the above issue.&lt;/P&gt;&lt;P&gt;Thank you all in advance.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 02:34:59 GMT</pubDate>
    <dc:creator>andymanu</dc:creator>
    <dc:date>2019-01-22T02:34:59Z</dc:date>
    <item>
      <title>Represent Pivot Table data using a Gauge</title>
      <link>https://community.qlik.com/t5/App-Development/Represent-Pivot-Table-data-using-a-Gauge/m-p/1532959#M40320</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Yesterday I posted a question on representing pivot table data using a Gauge.&lt;/P&gt;&lt;P&gt;I am sorry cos the post got accidentally deleted and thought&amp;nbsp;of re-typing&amp;nbsp;it again.&lt;/P&gt;&lt;P&gt;The data is around analysing survey results for two product (named, P100 and P101) and my issue is, when I select a particular question under a product (please refer the attached screenshot for&amp;nbsp; "Data Set Outcome"), the Gauge shows the outcome for both the products, despite I want to see only for the "P100" product.&lt;/P&gt;&lt;P&gt;In order to avoid this, I created a table named "Product ID" and i got to select a product (for example, "P100") to only view the data for a product.&lt;/P&gt;&lt;P&gt;The expression I have used for the Gauge is, "=Num(Sum([Audit YES])/Sum(Aggr(Sum([Audit Total]),KEY1)),'#,##0%')".&lt;/P&gt;&lt;P&gt;Note: "KEY1" is a key created using&amp;nbsp; "Product_ID" and "Criteria" fields to obtain unique identifiers for each data row.&lt;/P&gt;&lt;P&gt;Despite, this gives the outcome expected, is there any other way to break the relationship among a single "Question" under different products so that, if a user clicks on a particular question, the Gauge will show the results only for the selected question under the expanded product.&lt;/P&gt;&lt;P&gt;Please find the attached data sheet and the data model viewer screenshots herewith.&lt;/P&gt;&lt;P&gt;Apologies for not attaching the .qvf file cos I don't have the access to the qlik server at my work place.&lt;/P&gt;&lt;P&gt;Please let me know if there is a different way to get rid of the above issue.&lt;/P&gt;&lt;P&gt;Thank you all in advance.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 02:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Represent-Pivot-Table-data-using-a-Gauge/m-p/1532959#M40320</guid>
      <dc:creator>andymanu</dc:creator>
      <dc:date>2019-01-22T02:34:59Z</dc:date>
    </item>
  </channel>
</rss>

