<?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 Macro SETS and Printing Report problem - CODE - 911 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197468#M1323016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm working on a huge project and I have a deadline in next few days, right now i'm stuck on print report. Everything is working fine on the QV side, as soon as i try to print (PDF) for all products in selected department. its showing me wrong counts following is DB structure and one my my count expression.&lt;/P&gt;&lt;P&gt;Product Category SubCategory ProductName&lt;/P&gt;&lt;P&gt;1 Cars Honda-Civic Civic-1000&lt;/P&gt;&lt;P&gt;2 Cars Honda-Accord Accord -5000&lt;/P&gt;&lt;P&gt;3 Cars Toyata - Camry Camry-2000&lt;/P&gt;&lt;P&gt;4 Liquor Wines wine-101&lt;/P&gt;&lt;P&gt;5 Liquor Beers Bud-Light&lt;/P&gt;&lt;P&gt;REPORT : (Chart - Table)&lt;/P&gt;&lt;P&gt;ProductName Sales Category AVG. SubCategory AVG.&lt;/P&gt;&lt;P&gt;Civic-1000 1M 50M 10M&lt;/P&gt;&lt;P&gt;now, in these KPIs i need Sales Averages for Category and Subcategory too and it works fine in QV, but i need to generate reports for all products in Selected Category. and when i do print report it gives me wrong AVGs.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Selection&lt;/B&gt; : Users always select a &lt;B&gt;Category&lt;/B&gt; , &lt;B&gt;Subcategory&lt;/B&gt; and &lt;B&gt;Product&lt;/B&gt;&lt;/P&gt;&lt;P&gt;My Expression.&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;ProductName = , ProductId = &amp;gt; } ProductSales)&lt;/P&gt;&lt;P&gt;&lt;B&gt;Note: Report is a Chart Table.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;This equation is not working in the Print Report where i'm banding report with the ProductID. initial Selection for print all the Product report is as following&lt;/P&gt;&lt;P&gt;&lt;B&gt;SELECTION for PRINT ALL PRODUCTS :&lt;/B&gt; Category - Cars&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, i have a macro which implements the selection for the Subcategory as soon as you change the ProductId or Product Name. in short for this SET Equation to work i must have Sub-category Selected. so i have a Macro.&lt;/P&gt;&lt;P&gt;Please HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Macro SETS and Printing Report problem - CODE - 911</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197468#M1323016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm working on a huge project and I have a deadline in next few days, right now i'm stuck on print report. Everything is working fine on the QV side, as soon as i try to print (PDF) for all products in selected department. its showing me wrong counts following is DB structure and one my my count expression.&lt;/P&gt;&lt;P&gt;Product Category SubCategory ProductName&lt;/P&gt;&lt;P&gt;1 Cars Honda-Civic Civic-1000&lt;/P&gt;&lt;P&gt;2 Cars Honda-Accord Accord -5000&lt;/P&gt;&lt;P&gt;3 Cars Toyata - Camry Camry-2000&lt;/P&gt;&lt;P&gt;4 Liquor Wines wine-101&lt;/P&gt;&lt;P&gt;5 Liquor Beers Bud-Light&lt;/P&gt;&lt;P&gt;REPORT : (Chart - Table)&lt;/P&gt;&lt;P&gt;ProductName Sales Category AVG. SubCategory AVG.&lt;/P&gt;&lt;P&gt;Civic-1000 1M 50M 10M&lt;/P&gt;&lt;P&gt;now, in these KPIs i need Sales Averages for Category and Subcategory too and it works fine in QV, but i need to generate reports for all products in Selected Category. and when i do print report it gives me wrong AVGs.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Selection&lt;/B&gt; : Users always select a &lt;B&gt;Category&lt;/B&gt; , &lt;B&gt;Subcategory&lt;/B&gt; and &lt;B&gt;Product&lt;/B&gt;&lt;/P&gt;&lt;P&gt;My Expression.&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;ProductName = , ProductId = &amp;gt; } ProductSales)&lt;/P&gt;&lt;P&gt;&lt;B&gt;Note: Report is a Chart Table.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;This equation is not working in the Print Report where i'm banding report with the ProductID. initial Selection for print all the Product report is as following&lt;/P&gt;&lt;P&gt;&lt;B&gt;SELECTION for PRINT ALL PRODUCTS :&lt;/B&gt; Category - Cars&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, i have a macro which implements the selection for the Subcategory as soon as you change the ProductId or Product Name. in short for this SET Equation to work i must have Sub-category Selected. so i have a Macro.&lt;/P&gt;&lt;P&gt;Please HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197468#M1323016</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Macro SETS and Printing Report problem - CODE - 911</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197469#M1323017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I can see the problem you're talking about, but don't know how to solve it. I have almost no experience with reports.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 May 2010 00:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197469#M1323017</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-01T00:41:44Z</dc:date>
    </item>
    <item>
      <title>Macro SETS and Printing Report problem - CODE - 911</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197470#M1323019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you John for taking time to a look into it.&lt;/P&gt;&lt;P&gt;I have submitted a request to Qlikview support and they are looking into it, i'll post a solution once i hear from them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 May 2010 00:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-SETS-and-Printing-Report-problem-CODE-911/m-p/197470#M1323019</guid>
      <dc:creator />
      <dc:date>2010-05-01T00:53:28Z</dc:date>
    </item>
  </channel>
</rss>

