<?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: Pivot Table Values - while there are sales values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540920#M109268</link>
    <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;Generated missing data similar to this approach.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 07:15:37 GMT</pubDate>
    <dc:creator>profilejamesbond</dc:creator>
    <dc:date>2026-01-15T07:15:37Z</dc:date>
    <item>
      <title>Pivot Table Values - while there are sales values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540698#M109233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have Current Sales Value and Previous Value in the Pivot table.&lt;/P&gt;&lt;P&gt;The problem is: when there is no current sales value 12.01.2026 then there is no values for the previous day value while there is previous day sales value. The problem is my assumption Qlik has no value for today then it is like - for the current date and it is not showing anymore for the previous value. While, I see there are values for the 11.01.2026.&lt;/P&gt;&lt;P&gt;I enclosed expression with &lt;STRONG&gt;"alt"&lt;/STRONG&gt; while it is not working because there is no values:&lt;/P&gt;&lt;P&gt;alt(sum({&amp;lt;previous_flag = {1}&amp;gt;} sales), 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to fix this situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 13:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540698#M109233</guid>
      <dc:creator>profilejamesbond</dc:creator>
      <dc:date>2026-01-12T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Values - while there are sales values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540702#M109234</link>
      <description>&lt;P&gt;Could you post a screen shot and give us come context about the measures and dimensions for your pivot?&lt;/P&gt;&lt;P&gt;Also, could you provide some context on how your "previous_flag" is calculated it seems like there could be an issue there too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 14:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540702#M109234</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2026-01-12T14:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Values - while there are sales values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540708#M109235</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Date = {"=$(=Date(Max(Date)-1))"}&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } sales&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;Dimensions from calendar, not from fact&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 16:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540708#M109235</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2026-01-12T16:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Values - while there are sales values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540770#M109239</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have noticed that expressions are fine the problem is missing data.&lt;/P&gt;&lt;P&gt;Here is the data, where Sales is missing for 07.01.2025 in-fact there is no entry so, I see DK only for 01.01.2025 with sales 101 and there is no entry or data for DK 07.01.2025. So, when I created Pivot table with current and previous Sales I don't see it because the current sales is not there and pick(match expression behave like Qlik Sense default to ignore it because the dimension have no data.&lt;/P&gt;&lt;P&gt;Country, Date, Sales&lt;/P&gt;&lt;P&gt;DK, 01.01.2025, 100&lt;/P&gt;&lt;P&gt;DK, 07.01.2025,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DK, 12.01.2025, 101&amp;nbsp;&lt;/P&gt;&lt;P&gt;UK, 01.01.2025, 102&lt;/P&gt;&lt;P&gt;UK, 07.01.2025, 103&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I figure out the problem I just created dummy data with all the dimensions and place 0 in the Sales.&lt;BR /&gt;Now, the problem is there is to much data to replace with 0. Is there anyway to add dummy data. For example: I made a loop like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each value in '07.01.2025'&lt;/P&gt;&lt;P&gt;concatenate (main_table)&lt;/P&gt;&lt;P&gt;Load 'DK' as Country,&lt;/P&gt;&lt;P&gt;'07.01.2025' as Date&lt;/P&gt;&lt;P&gt;0 as Sales&lt;/P&gt;&lt;P&gt;Autogenerate (1);&lt;/P&gt;&lt;P&gt;Next value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The loop is working as expected but there are so many values to replace and it is not possible to figure them one by one and also possible in the future missing values will arrive. Now, I want to do it in an automated way. Question is how to generate and concatenate missing data into the fact table ? so that expressions can work properly without exceptions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 13:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540770#M109239</guid>
      <dc:creator>profilejamesbond</dc:creator>
      <dc:date>2026-01-13T13:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Values - while there are sales values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540779#M109240</link>
      <description>&lt;P&gt;Quite common is an approach like the following:&lt;/P&gt;&lt;P&gt;t: load Date from Calendar; join(t) load distinct Country from Countries;&lt;/P&gt;&lt;P&gt;concatenate(Facts) load *, Date &amp;amp; '|' &amp;amp; Country as Key, 0 as Sales&lt;BR /&gt;resident t where not exists(Key,&amp;nbsp;Date &amp;amp; '|' &amp;amp; Country);&lt;/P&gt;&lt;P&gt;drop tables t;&lt;/P&gt;&lt;P&gt;to populate missing fact-records. Some adjustments might be wanted, like filtering the calendar to working-days or ... but it would cause some gaps in the dates ...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 15:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540779#M109240</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2026-01-13T15:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Values - while there are sales values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540920#M109268</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;Generated missing data similar to this approach.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 07:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Values-while-there-are-sales-values/m-p/2540920#M109268</guid>
      <dc:creator>profilejamesbond</dc:creator>
      <dc:date>2026-01-15T07:15:37Z</dc:date>
    </item>
  </channel>
</rss>

