<?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 Does not filter calculation when selecting in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Does-not-filter-calculation-when-selecting/m-p/1570244#M41587</link>
    <description>&lt;P&gt;Goodnight.&lt;BR /&gt;I need to show a report with the amounts by clients, but if I do not select any filter by Year that shows me the amounts of the maximum year. I applied this formula:&lt;/P&gt;&lt;P&gt;IF (LEN (GetFieldSelections (YEAR, 1))&amp;gt; 0,&lt;BR /&gt;if (WildMatch (YEAR, 2018),&lt;BR /&gt;SUM ({&amp;lt;CLOSURE_MES = {1}, YEAR = {2018}&amp;gt;} AMOUNT)&lt;BR /&gt;,&lt;BR /&gt;if (WildMatch (YEAR, 2019),&lt;BR /&gt;SUM ({&amp;lt;CLOSURE_MES = {1}, YEAR = {2019}&amp;gt;} AMOUNT)&lt;BR /&gt;)),&lt;/P&gt;&lt;P&gt;SUM ({&amp;lt;CLOSURE_MES = {1},YEAR = {2019}&amp;gt;} AMOUNT)&lt;BR /&gt;)&lt;BR /&gt;But I see the amounts of 2018 and 2019, when I should appear only 2019 if I'm not selecting anything. I have a Time table, where the dates come for the closing of the month and the closing of the week, so I put a place where I show CLOSED_MES = 1 OR CLOSED_SEMANA = 1. I do not know if this is affecting when I apply my formula for closing_months since I should show the dates by the end of the month. When I select a year my report shows me the amounts of the selected year, but it also shows me the years that I do not choose and shows them empty without amounts, what I want is that the empty years are not shown only those that I choose.&lt;BR /&gt;Apparently in the formula in the setAnalisis is not taking into account close_mes = 1. I do not know if it's because of where I'm applying in the Times table or if the CLOSE_MES field is not numeric.&lt;/P&gt;&lt;P&gt;or the formula lacks something else to add.&lt;/P&gt;&lt;P&gt;Please help I do not know how to solve it&lt;BR /&gt;Thanks for your time&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:02:04 GMT</pubDate>
    <dc:creator>GartoJsar</dc:creator>
    <dc:date>2024-11-16T21:02:04Z</dc:date>
    <item>
      <title>Does not filter calculation when selecting</title>
      <link>https://community.qlik.com/t5/App-Development/Does-not-filter-calculation-when-selecting/m-p/1570244#M41587</link>
      <description>&lt;P&gt;Goodnight.&lt;BR /&gt;I need to show a report with the amounts by clients, but if I do not select any filter by Year that shows me the amounts of the maximum year. I applied this formula:&lt;/P&gt;&lt;P&gt;IF (LEN (GetFieldSelections (YEAR, 1))&amp;gt; 0,&lt;BR /&gt;if (WildMatch (YEAR, 2018),&lt;BR /&gt;SUM ({&amp;lt;CLOSURE_MES = {1}, YEAR = {2018}&amp;gt;} AMOUNT)&lt;BR /&gt;,&lt;BR /&gt;if (WildMatch (YEAR, 2019),&lt;BR /&gt;SUM ({&amp;lt;CLOSURE_MES = {1}, YEAR = {2019}&amp;gt;} AMOUNT)&lt;BR /&gt;)),&lt;/P&gt;&lt;P&gt;SUM ({&amp;lt;CLOSURE_MES = {1},YEAR = {2019}&amp;gt;} AMOUNT)&lt;BR /&gt;)&lt;BR /&gt;But I see the amounts of 2018 and 2019, when I should appear only 2019 if I'm not selecting anything. I have a Time table, where the dates come for the closing of the month and the closing of the week, so I put a place where I show CLOSED_MES = 1 OR CLOSED_SEMANA = 1. I do not know if this is affecting when I apply my formula for closing_months since I should show the dates by the end of the month. When I select a year my report shows me the amounts of the selected year, but it also shows me the years that I do not choose and shows them empty without amounts, what I want is that the empty years are not shown only those that I choose.&lt;BR /&gt;Apparently in the formula in the setAnalisis is not taking into account close_mes = 1. I do not know if it's because of where I'm applying in the Times table or if the CLOSE_MES field is not numeric.&lt;/P&gt;&lt;P&gt;or the formula lacks something else to add.&lt;/P&gt;&lt;P&gt;Please help I do not know how to solve it&lt;BR /&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Does-not-filter-calculation-when-selecting/m-p/1570244#M41587</guid>
      <dc:creator>GartoJsar</dc:creator>
      <dc:date>2024-11-16T21:02:04Z</dc:date>
    </item>
  </channel>
</rss>

