<?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: Show data for multiple dates in one single table qliksense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003557#M83096</link>
    <description>&lt;P&gt;Hi, you can try a solution like the data bridge used in the canonical date:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Design/Canonical-Date/ba-p/1463578&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 13:57:59 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2022-11-11T13:57:59Z</dc:date>
    <item>
      <title>Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003524#M83094</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have below data in back end :-&lt;/P&gt;
&lt;TABLE width="138"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="138"&gt;Data Fields&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Issue Recd Month&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Issue closed Month&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Volumes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Issue no&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Report Date&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I wish to create a table in front end like below :-&lt;/P&gt;
&lt;TABLE width="396"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="138"&gt;KPI's&lt;/TD&gt;
&lt;TD width="130"&gt;Jan-22&lt;/TD&gt;
&lt;TD width="64"&gt;Feb-22&lt;/TD&gt;
&lt;TD width="64"&gt;Mar-22&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Total Closure&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Total Received&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Total Volumes&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have below problem:-&lt;/P&gt;
&lt;P&gt;1) I don't have fields named as Total Closure , Total received, total volumes in backend table .&lt;/P&gt;
&lt;P&gt;Hence, I created dummy data using Inline table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Show numbers against same date field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The biggest problem here is the calculation. Below logic is used to calculate these KPI's -&lt;/P&gt;
&lt;P&gt;- Total Closure&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimension -Issue closed Month(Date Format -MMM-YY)) | Measure - count(issue no)&lt;/P&gt;
&lt;P&gt;-Total Received&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimension -Issue Recd Month (MMM-YY) | Measure - count(issue no)&lt;/P&gt;
&lt;P&gt;-Volumes&lt;/P&gt;
&lt;P&gt;Dimension -Report Date(MMM-YY) | Measure - Sum(Volumes)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now to calculate each KPI, different set of date is used to populate values. Is there a way I can show all the three KPI calculation using one single date dimension in pivot table?&lt;/P&gt;
&lt;P&gt;Can anyone please help me on this ?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003524#M83094</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-11T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003557#M83096</link>
      <description>&lt;P&gt;Hi, you can try a solution like the data bridge used in the canonical date:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Design/Canonical-Date/ba-p/1463578&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003557#M83096</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-11T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003568#M83097</link>
      <description>&lt;P&gt;Hi, Thanks for your response.&lt;/P&gt;
&lt;P&gt;I am not very much clear on how to proceed with this. I had already seen this post from Henric.&lt;/P&gt;
&lt;P&gt;But not able to relate it with my scenario properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 14:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003568#M83097</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-11T14:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003755#M83112</link>
      <description>&lt;P&gt;Hi, just follow the bridge code and adapt to your fields, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DateBridge:
     Load
          [Issue No],
          ReceivedDate as CanonicalDate,
          'Received' as DateType
          Resident DataTable;

     Concatenate (DateBridge)
     Load
          [Issue No],
          ClosedDate as CanonicalDate,
          'Closed' as DateType
          Resident DataTable;

     Concatenate (DateBridge)
     Load
          [Issue No],
          ReportDate as CanonicalDate,
          'Report' as DateType
          Resident DataTable;&lt;/LI-CODE&gt;
&lt;P&gt;The expressions could be&lt;/P&gt;
&lt;P&gt;Closure: Count( {$&amp;lt;DateType={'Closed'}&amp;gt;} [Issue No])&lt;BR /&gt;Received: Count( {$&amp;lt;DateType={'Received'}&amp;gt;} [Issue No])&lt;/P&gt;
&lt;P&gt;And for volume pick the date you want, like Sum({$&amp;lt;DateType={'Report'}&amp;gt;} Volumes) if you want to volumes based on the report date&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 08:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2003755#M83112</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-12T08:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2004780#M83162</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp; , Thanks for your response .&lt;/P&gt;
&lt;P&gt;I tried the above logic . Created three master calendars - issue recd date , issue closed date, report date . And one calendar for canonical date. Please see below code :-&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;LOAD&lt;BR /&gt;REPORT_DATE,&lt;BR /&gt;F1,&lt;BR /&gt;LOB,&lt;BR /&gt;MEDIUM,&lt;BR /&gt;ISSUE_TYPE,&lt;BR /&gt;ISSUE_NO,&lt;BR /&gt;SUMMARY,&lt;BR /&gt;CUSTOMER_NAME,&lt;BR /&gt;ACCOUNT_NUMBER,&lt;BR /&gt;PROCESSED_BY,&lt;BR /&gt;REPORTER,&lt;BR /&gt;ISSUE_STATUS,&lt;BR /&gt;CATEGORY,&lt;BR /&gt;COMPONENT,&lt;BR /&gt;REQUESTED_DATE,&lt;BR /&gt;CREATED_DATE,&lt;BR /&gt;UPDATED,&lt;BR /&gt;RESOLVED,&lt;BR /&gt;RESOLUTION,&lt;BR /&gt;DAYS_SINCE_LAST_COMMENT,&lt;BR /&gt;ISSUE_LINKS,&lt;BR /&gt;PROGRESS,&lt;BR /&gt;"1ST_RESPONSE_DATE",&lt;BR /&gt;LAST_UPDATER,&lt;BR /&gt;PARTICIPANTS,&lt;BR /&gt;PROCESSED_BY_EIN,&lt;BR /&gt;REPORTER_EIN,&lt;BR /&gt;LAST_UPDATER_EIN,&lt;BR /&gt;QUERY_TEAM_OWNER,&lt;BR /&gt;NEXT_ACTION_OWNER,&lt;BR /&gt;NEXT_ACT_DIARY_DATE,&lt;BR /&gt;ACTION_OWNER_ALLOC_AT,&lt;BR /&gt;TOTAL_VOL,&lt;BR /&gt;TOTAL_VALID_VOL,&lt;BR /&gt;TOTAL_OUTSTANDING_VOL,&lt;BR /&gt;TIME_TO_FIRST_RESPONSE,&lt;BR /&gt;LOGGED_DATE,&lt;BR /&gt;LOGGED_DATE_New,&lt;BR /&gt;ISSUE_RECD_DATE,&lt;BR /&gt;ISSUE_RECD_DATE_New,&lt;BR /&gt;Issue_Rec_Weeks,&lt;BR /&gt;ISSUE_CLOSED_DATE,&lt;BR /&gt;MONTHname(Date#(ISSUE_CLOSED_DATE,'DD-MMM-YYYY')) as ISSUE_CLOSED_DATE_test,&lt;BR /&gt;ISSUE_CLOSER,&lt;BR /&gt;ISSUE_LOGGER,&lt;BR /&gt;ISSUE_OWNER,&lt;BR /&gt;OPEN_DAYS,&lt;BR /&gt;AGE_BAND,&lt;BR /&gt;OPEN_WKG_DAYS,&lt;BR /&gt;AGE_BAND_WKG,&lt;BR /&gt;AVG_LOGGED_TIME,&lt;BR /&gt;AVG_LOGGED_TIME_BAND,&lt;BR /&gt;CLOSED_DAYS,&lt;BR /&gt;CLOSED_BAND,&lt;BR /&gt;CLOSED_WKG_DAYS,&lt;BR /&gt;CLOSED_BAND_WKG,&lt;BR /&gt;AVG_CLOSED_TIME,&lt;BR /&gt;"MONTH",&lt;BR /&gt;CLOSED_WEEK_COMM,&lt;BR /&gt;CLOSED_WEEK_ENDING,&lt;BR /&gt;FIRST_RESPONSE_DATE,&lt;BR /&gt;SLA_TIME_TO_COMP,&lt;BR /&gt;SLA_BAND_WKG,&lt;BR /&gt;OWNING_MANAGER,&lt;BR /&gt;OWNING_MANAGER_SITE&lt;BR /&gt;FROM "lib://&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;==================================================================&lt;/P&gt;
&lt;P&gt;//--Master Calendar for Issue Recd Date&lt;/P&gt;
&lt;P&gt;Issue_recd_Temp:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;min(ISSUE_RECD_DATE_New) as minDate,&lt;/P&gt;
&lt;P&gt;max(ISSUE_RECD_DATE_New) as maxDate&lt;/P&gt;
&lt;P&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;Let varMinDate_Issue_recd = Num(Peek('minDate', 0, 'Issue_recd_Temp'));&lt;/P&gt;
&lt;P&gt;Let varMaxDate_Issue_recd = Num(Peek('maxDate', 0, 'Issue_recd_Temp'));&lt;/P&gt;
&lt;P&gt;DROP Table Issue_recd_Temp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TempCalendar_issue_recd_date:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;$(varMinDate_Issue_recd) + Iterno()-1 As Num_Issue_recd,&lt;/P&gt;
&lt;P&gt;Date($(varMaxDate_Issue_recd) + IterNo() - 1) as TempDate_Issue_recd&lt;/P&gt;
&lt;P&gt;AutoGenerate 1 While $(varMinDate_Issue_recd) + IterNo() -1 &amp;lt;= $(varMaxDate_Issue_recd);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MasterCalendar_Issue_Recd:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;TempDate_Issue_recd AS ISSUE_RECD_DATE_New, // link with EMS table&lt;/P&gt;
&lt;P&gt;week(TempDate_Issue_recd) As Issue_recd_Week,&lt;/P&gt;
&lt;P&gt;Year(TempDate_Issue_recd) As Issue_recd_Year_NEW,&lt;/P&gt;
&lt;P&gt;Month(TempDate_Issue_recd) As Issue_recd_Month,&lt;/P&gt;
&lt;P&gt;Day(TempDate_Issue_recd) As Issue_recd_Day,&lt;BR /&gt;&lt;BR /&gt;date(monthstart(TempDate_Issue_recd), 'MMM-YYYY') as Issue_Recd_MonthYear,&lt;BR /&gt;&lt;BR /&gt;Week(weekstart(TempDate_Issue_recd)) &amp;amp; '-' &amp;amp; WeekYear(TempDate_Issue_recd) as Issue_recd_WeekYear,&lt;/P&gt;
&lt;P&gt;WeekDay(TempDate_Issue_recd) as Issue_recd_WeekDay&lt;BR /&gt;&lt;BR /&gt;Resident TempCalendar_issue_recd_date&lt;/P&gt;
&lt;P&gt;Order By TempDate_Issue_recd ASC;&lt;/P&gt;
&lt;P&gt;Drop Table TempCalendar_issue_recd_date;&lt;/P&gt;
&lt;P&gt;========================================================&lt;/P&gt;
&lt;P&gt;//--Master Calendar for Issue Closed Date ----//&lt;/P&gt;
&lt;P&gt;Issue_Closed_Temp:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;min(ISSUE_CLOSED_DATE_test) as minDate,&lt;/P&gt;
&lt;P&gt;max(ISSUE_CLOSED_DATE_test) as maxDate&lt;/P&gt;
&lt;P&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;Let varMinDate_Issue_Closed = Num(Peek('minDate', 0, 'Issue_Closed_Temp'));&lt;/P&gt;
&lt;P&gt;Let varMaxDate_Issue_Closed = Num(Peek('maxDate', 0, 'Issue_Closed_Temp'));&lt;/P&gt;
&lt;P&gt;DROP Table Issue_Closed_Temp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TempCalendar_issue_Closed_date:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;$(varMinDate_Issue_Closed) + Iterno()-1 As Num_Issue_Closed,&lt;/P&gt;
&lt;P&gt;Date($(varMaxDate_Issue_Closed) + IterNo() - 1) as TempDate_Issue_Closed&lt;/P&gt;
&lt;P&gt;AutoGenerate 1 While $(varMinDate_Issue_Closed) + IterNo() -1 &amp;lt;= $(varMaxDate_Issue_Closed);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MasterCalendar_Issue_Closed:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;TempDate_Issue_Closed AS ISSUE_CLOSED_DATE, // link with EMS table&lt;/P&gt;
&lt;P&gt;week(TempDate_Issue_Closed) As Issue_Closed_Week,&lt;/P&gt;
&lt;P&gt;Year(TempDate_Issue_Closed) As Issue_Closed_Year_NEW,&lt;/P&gt;
&lt;P&gt;Month(TempDate_Issue_Closed) As Issue_Closed_Month,&lt;/P&gt;
&lt;P&gt;Day(TempDate_Issue_Closed) As Issue_Closed_Day,&lt;BR /&gt;&lt;BR /&gt;date(monthstart(TempDate_Issue_Closed), 'MMM-YYYY') as Issue_Closed_MonthYear,&lt;BR /&gt;&lt;BR /&gt;Week(weekstart(TempDate_Issue_Closed)) &amp;amp; '-' &amp;amp; WeekYear(TempDate_Issue_Closed) as Issue_Closed_WeekYear,&lt;/P&gt;
&lt;P&gt;WeekDay(TempDate_Issue_Closed) as Issue_Closed_WeekDay&lt;BR /&gt;&lt;BR /&gt;Resident TempCalendar_issue_Closed_date&lt;/P&gt;
&lt;P&gt;Order By TempDate_Issue_Closed ASC;&lt;/P&gt;
&lt;P&gt;Drop Table TempCalendar_issue_Closed_date;&lt;/P&gt;
&lt;P&gt;===============================================&lt;/P&gt;
&lt;P&gt;//--Master Calendar for Report Date ----//&lt;/P&gt;
&lt;P&gt;Report_Date_Temp:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;min(REPORT_DATE) as minDate,&lt;/P&gt;
&lt;P&gt;max(REPORT_DATE) as maxDate&lt;/P&gt;
&lt;P&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;Let varMinDate_Report_Date = Num(Peek('minDate', 0, 'Report_Date_Temp'));&lt;/P&gt;
&lt;P&gt;Let varMaxDate_Report_Date = Num(Peek('maxDate', 0, 'Report_Date_Temp'));&lt;/P&gt;
&lt;P&gt;DROP Table Report_Date_Temp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TempCalendar_Report_Date:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;$(varMinDate_Report_Date) + Iterno()-1 As Num_Report_Date,&lt;/P&gt;
&lt;P&gt;Date($(varMaxDate_Report_Date) + IterNo() - 1) as TempDate_Report_Date&lt;/P&gt;
&lt;P&gt;AutoGenerate 1 While $(varMinDate_Report_Date) + IterNo() -1 &amp;lt;= $(varMaxDate_Report_Date);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MasterCalendar_Report_Date:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;TempDate_Report_Date AS REPORT_DATE, // link with EMS table&lt;/P&gt;
&lt;P&gt;week(TempDate_Report_Date) As Report_Week,&lt;/P&gt;
&lt;P&gt;Year(TempDate_Report_Date) As Report_Year,&lt;/P&gt;
&lt;P&gt;Month(TempDate_Report_Date) As Report_Month,&lt;/P&gt;
&lt;P&gt;Day(TempDate_Report_Date) As Report_Day,&lt;BR /&gt;&lt;BR /&gt;date(monthstart(TempDate_Report_Date), 'MMM-YYYY') as Report_MonthYear,&lt;BR /&gt;&lt;BR /&gt;Week(weekstart(TempDate_Report_Date)) &amp;amp; '-' &amp;amp; WeekYear(TempDate_Report_Date) as Report_WeekYear,&lt;/P&gt;
&lt;P&gt;WeekDay(TempDate_Report_Date) as Report_WeekDay&lt;BR /&gt;&lt;BR /&gt;Resident TempCalendar_Report_Date&lt;/P&gt;
&lt;P&gt;Order By TempDate_Report_Date ASC;&lt;/P&gt;
&lt;P&gt;Drop Table TempCalendar_Report_Date;&lt;/P&gt;
&lt;P&gt;============================================================================&lt;/P&gt;
&lt;P&gt;//-- Create Bridge table (Canonical Date)---//&lt;/P&gt;
&lt;P&gt;DateBridge:&lt;BR /&gt;Load&lt;BR /&gt;ISSUE_NO,&lt;BR /&gt;ISSUE_RECD_DATE_New as CanonicalDate,&lt;BR /&gt;'Received' as DateType&lt;BR /&gt;Resident Data;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Concatenate (DateBridge)&lt;BR /&gt;Load&lt;BR /&gt;ISSUE_NO,&lt;BR /&gt;ISSUE_CLOSED_DATE_test as CanonicalDate,&lt;BR /&gt;'Closed' as DateType&lt;BR /&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;Concatenate (DateBridge)&lt;BR /&gt;Load&lt;BR /&gt;ISSUE_NO,&lt;BR /&gt;REPORT_DATE as CanonicalDate,&lt;BR /&gt;'Report' as DateType&lt;BR /&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;==================================================&lt;/P&gt;
&lt;P&gt;//--Master Calendar for Report Date ----//&lt;/P&gt;
&lt;P&gt;Temp:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;min(CanonicalDate) as minDate,&lt;/P&gt;
&lt;P&gt;max(CanonicalDate) as maxDate&lt;/P&gt;
&lt;P&gt;Resident DateBridge;&lt;/P&gt;
&lt;P&gt;Let varMinDate_Canonical_Date = Num(Peek('minDate', 0, 'Temp'));&lt;/P&gt;
&lt;P&gt;Let varMaxDate_Canonical_Date = Num(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;
&lt;P&gt;DROP Table Temp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TempCalendar_Canonical_Date:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;$(varMinDate_Canonical_Date) + Iterno()-1 As Num_Canonical_Date,&lt;/P&gt;
&lt;P&gt;Date($(varMaxDate_Canonical_Date) + IterNo() - 1) as TempDate_Canonical_Date&lt;/P&gt;
&lt;P&gt;AutoGenerate 1 While $(varMinDate_Canonical_Date) + IterNo() -1 &amp;lt;= $(varMaxDate_Canonical_Date);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MasterCalendar_Canonical_Date:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;TempDate_Canonical_Date AS CanonicalDate, // link with EMS table&lt;/P&gt;
&lt;P&gt;week(TempDate_Canonical_Date) As Canonical_Week,&lt;/P&gt;
&lt;P&gt;Year(TempDate_Canonical_Date) As Canonical_Year,&lt;/P&gt;
&lt;P&gt;Month(TempDate_Canonical_Date) As Canonical_Month,&lt;/P&gt;
&lt;P&gt;Day(TempDate_Canonical_Date) As Canonical_Day,&lt;BR /&gt;&lt;BR /&gt;date(monthstart(TempDate_Canonical_Date), 'MMM-YYYY') as Canonical_MonthYear,&lt;BR /&gt;&lt;BR /&gt;Week(weekstart(TempDate_Canonical_Date)) &amp;amp; '-' &amp;amp; WeekYear(TempDate_Canonical_Date) as Canonical_WeekYear,&lt;/P&gt;
&lt;P&gt;WeekDay(TempDate_Canonical_Date) as Canonical_WeekDay&lt;BR /&gt;&lt;BR /&gt;Resident TempCalendar_Canonical_Date&lt;/P&gt;
&lt;P&gt;Order By TempDate_Canonical_Date ASC;&lt;/P&gt;
&lt;P&gt;Drop Table TempCalendar_Canonical_Date;&lt;/P&gt;
&lt;P&gt;===========================================================&lt;/P&gt;
&lt;P&gt;Tried to populate the KPI's Zero values:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1668524450171.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/93743i6223EA7A5D07E04F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1668524450171.png" alt="Aspiring_Developer_0-1668524450171.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;=======================================================&lt;/P&gt;
&lt;P&gt;And the ideally it should populate below values :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_1-1668524523702.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/93746i994266A2A4EA30BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_1-1668524523702.png" alt="Aspiring_Developer_1-1668524523702.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right Now, it is giving me zero for all values .&lt;/P&gt;
&lt;P&gt;Could you please help me with the same please ?&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2004780#M83162</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-15T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2004784#M83163</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the glimpse of my data model :-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_2-1668524830503.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/93750i9C54B0833D289E5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_2-1668524830503.png" alt="Aspiring_Developer_2-1668524830503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2004784#M83163</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-15T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2005187#M83187</link>
      <description>&lt;P&gt;Hi,I would try checking the relations and the data. You can do this adding a table with all the fields of the date bridge&amp;nbsp;&lt;SPAN&gt;and&amp;nbsp;CanonicalDate. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Select Received in DateType and check if there are rows with all data, from IssueNo to CanonicalDate&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 10:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2005187#M83187</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-16T10:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2006601#M83296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can anyone please help me with this ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 19:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2006601#M83296</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-18T19:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2006843#M83311</link>
      <description>&lt;P&gt;Hi, have you tried to create the table with all fields of the bridge table as dimensions?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 07:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2006843#M83311</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-21T07:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008573#M83420</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I took all the dimension. Please see below :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1669271252191.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94527i3297DA93D0912D5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1669271252191.png" alt="Aspiring_Developer_0-1669271252191.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;IT seems the canonical date calendar is not created properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 06:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008573#M83420</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-24T06:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008582#M83421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are my original date format present inside the data table :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_1-1669273537932.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94529iBA2C99714F60E6BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_1-1669273537932.png" alt="Aspiring_Developer_1-1669273537932.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008582#M83421</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-24T07:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008585#M83422</link>
      <description>&lt;P&gt;Hi, if you select some values on the Canonica_month fields you could see with values are related with months and what's the difference.&lt;/P&gt;
&lt;P&gt;From your calendar I see something wrong, this kinfd of lines:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date($(var&lt;FONT color="#FF0000"&gt;Max&lt;/FONT&gt;Date_Issue_recd) + IterNo() - 1) as TempDate_Issue_recd -&amp;gt; It should start using Min, not Max&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Another cause could be because dates are timestamps and have the hour part, just not showing because are shown as dates, in that case you can apply floor to remove the time part:&lt;/P&gt;
&lt;P&gt;Let varMinDate_Canonical_Date = Num(Floor(Peek('minDate', 0, 'Temp')));&lt;/P&gt;
&lt;P&gt;Let varMaxDate_Canonical_Date = Num(Floor(Peek('maxDate', 0, 'Temp')));&lt;/P&gt;
&lt;P&gt;Or some fields have different date formats, I usually use the link fields of date with interger rounded numbers, calling his fields IdDate, and another field Date with the date format to show on front-end.&lt;/P&gt;
&lt;P&gt;There could be different reasons but looking for the different values of the tables (the ones with Canonical_month and the ones that has a Canonical_month) can give you hints on what's happening.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008585#M83422</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-24T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008601#M83423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your observation. I checked and corrected the date format for Issue Recd Date by making&amp;nbsp; few changes in Master calendar and data table script like below :-&lt;/P&gt;
&lt;P&gt;//----Data table --//&lt;/P&gt;
&lt;P&gt;Floor(num(ISSUE_RECD_DATE)) as Num_Issue_Recd_Date, // converting data into num&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//----------------Master Calendar for issue recd date -----//&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1669275395453.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94530i76CD88AEECF7164E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1669275395453.png" alt="Aspiring_Developer_0-1669275395453.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_1-1669275440191.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94531i0578F6C72CB567F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_1-1669275440191.png" alt="Aspiring_Developer_1-1669275440191.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now , i am trying to fix the date format&amp;nbsp; for issue closed date . it seems this date is in text format :-&lt;/P&gt;
&lt;P&gt;Floor(num(ISSUE_CLOSED_DATE)) as Num_Issue_Closed_Date, // converting data into num&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_2-1669275502240.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94532i18C304C394B3A044/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_2-1669275502240.png" alt="Aspiring_Developer_2-1669275502240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think the problem here is in the date format. Because of which the canonical dates are not populating.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008601#M83423</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-24T07:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008608#M83425</link>
      <description>&lt;P&gt;Hi, yes, if it's left-aligned it means it's loaded as a string, and date functions won't work.&lt;/P&gt;
&lt;P&gt;You can use Date#() to tell the input format when loading the date, like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date(Date#(ISSUE_CLOSED_DATE,'DD-MMM-YYYY'))&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008608#M83425</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-24T07:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008618#M83429</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But I want to convert it into number. It is not getting converted into num using num # , Floor or num function .&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008618#M83429</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-24T07:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008621#M83431</link>
      <description>&lt;P&gt;You need to first use Date#() to convert the string to date, then you can convert to number or another date format:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Num(Date#(ISSUE_CLOSED_DATE,'DD-MMM-YYYY'))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008621#M83431</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-24T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show data for multiple dates in one single table qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008647#M83433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't thank you enough for solving my queries . I am able to create the bridge table and master calendar .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 08:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-data-for-multiple-dates-in-one-single-table-qliksense/m-p/2008647#M83433</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-11-24T08:38:37Z</dc:date>
    </item>
  </channel>
</rss>

