<?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 Recollecting reporting data in Contact Pro</title>
    <link>https://community.sinch.com/t5/Contact-Pro/Recollecting-reporting-data/m-p/12814#M487</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Symptoms&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reporting couldn’t collect data for a specific date/time from the Monitoring database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;1. Check if the History database has data for the date/time in question.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a) Connect to the database using Microsoft SQL Management Studio.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b) Go to XXX_DSArea database and select it.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;c) Copy the following script and execute it:&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;select convert(varchar(13),TimeStamp,121), count(*)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;from TAContactLog&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;group by convert(varchar(13),TimeStamp,121)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;order by convert(varchar(13),TimeStamp,121&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2. If no data exists in the DSArea database, check if the Monitoring History database server "XXX_History" has historical data for the given date/time.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a. Run the same query as above.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b. If data exists, you'll need to use the &lt;STRONG&gt;CopyLogData&lt;/STRONG&gt; tool to copy the history data from the Monitoring database server&amp;nbsp; "XXX_History" into the "XXX_DSArea" database. For more information, see &lt;A href="https://community.sinch.com/t5/Contact-Pro/Copying-data-from-History-database-to-DSArea-database/td-p/12813" target="_self"&gt;Copying data from History database to DSArea database&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3. If data exists, use the rollback function to delete the dates in question. This step is only needed if the report has some data. This is done to avoid duplicate values.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a. Open Online Monitoring and go to &lt;STRONG&gt;Tools &amp;gt; Reporting Settings&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b. In the DTE Reporting view, select the date/time and click &lt;STRONG&gt;Roll Back&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;4. To recollect the data, run the Data Transformation Engine (DTE) job for the days:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a. Run Command Prompt as an administrator.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b. Locate the &lt;STRONG&gt;BCM_DTE.exe&lt;/STRONG&gt; file. This should be under the Reporting database installation &lt;STRONG&gt;\contents\bin directory, for example C:\Sinch\Contact Pro\Reporting Database Server\contents\bin&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;c. Change directory to the above path and enter the following in the command line: "BCM_DTE.exe [VU_Name] "YYYY-MM-DD HH:MM:SS" "YYYY-MM-DD HH:MM:SS".&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;For example: &lt;FONT face="courier new,courier"&gt;BCM_DTE.exe ACME_Reporting "2013-10-30 22:00:00" "2013-10-31 13:00:00&lt;/FONT&gt;”&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;The time period doesn’t have to be full hours. You can use a period of 15 minutes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;NOTE: The start and end time parameters are always UTC time, so when you are recollecting the data, you need to pay close attention and convert your local time to UTC or else you could be risking missing some data.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;5. If you use Micorsoft Reporting Services reports, run database full process either by:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;• Executing the "XXX: Reporting OLAP database management" found in &lt;STRONG&gt;Microsoft SQL Server Management Studio -&amp;gt; SQL Server Agent -&amp;gt; Jobs -&amp;gt; "XXX: Reporting OLAP database management"&lt;/STRONG&gt;. This will run the &lt;STRONG&gt;Process Full&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;• Manually running the &lt;STRONG&gt;Process Full&lt;/STRONG&gt; directly against the OLAP database:&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;a. Connect to the Analysis Services Engine using Microsoft SQL Management Studio.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;b. Right-click on the OLAP database and then choose &lt;STRONG&gt;Process&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;c. Make sure the process type is set as &lt;STRONG&gt;Process Full&lt;/STRONG&gt; and then click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 18 Oct 2023 11:49:56 GMT</pubDate>
    <dc:creator>Nina_Makkonen</dc:creator>
    <dc:date>2023-10-18T11:49:56Z</dc:date>
    <item>
      <title>Recollecting reporting data</title>
      <link>https://community.sinch.com/t5/Contact-Pro/Recollecting-reporting-data/m-p/12814#M487</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Symptoms&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reporting couldn’t collect data for a specific date/time from the Monitoring database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;1. Check if the History database has data for the date/time in question.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a) Connect to the database using Microsoft SQL Management Studio.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b) Go to XXX_DSArea database and select it.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;c) Copy the following script and execute it:&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;select convert(varchar(13),TimeStamp,121), count(*)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;from TAContactLog&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;group by convert(varchar(13),TimeStamp,121)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;order by convert(varchar(13),TimeStamp,121&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2. If no data exists in the DSArea database, check if the Monitoring History database server "XXX_History" has historical data for the given date/time.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a. Run the same query as above.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b. If data exists, you'll need to use the &lt;STRONG&gt;CopyLogData&lt;/STRONG&gt; tool to copy the history data from the Monitoring database server&amp;nbsp; "XXX_History" into the "XXX_DSArea" database. For more information, see &lt;A href="https://community.sinch.com/t5/Contact-Pro/Copying-data-from-History-database-to-DSArea-database/td-p/12813" target="_self"&gt;Copying data from History database to DSArea database&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3. If data exists, use the rollback function to delete the dates in question. This step is only needed if the report has some data. This is done to avoid duplicate values.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a. Open Online Monitoring and go to &lt;STRONG&gt;Tools &amp;gt; Reporting Settings&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b. In the DTE Reporting view, select the date/time and click &lt;STRONG&gt;Roll Back&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;4. To recollect the data, run the Data Transformation Engine (DTE) job for the days:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;a. Run Command Prompt as an administrator.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;b. Locate the &lt;STRONG&gt;BCM_DTE.exe&lt;/STRONG&gt; file. This should be under the Reporting database installation &lt;STRONG&gt;\contents\bin directory, for example C:\Sinch\Contact Pro\Reporting Database Server\contents\bin&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;c. Change directory to the above path and enter the following in the command line: "BCM_DTE.exe [VU_Name] "YYYY-MM-DD HH:MM:SS" "YYYY-MM-DD HH:MM:SS".&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;For example: &lt;FONT face="courier new,courier"&gt;BCM_DTE.exe ACME_Reporting "2013-10-30 22:00:00" "2013-10-31 13:00:00&lt;/FONT&gt;”&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;The time period doesn’t have to be full hours. You can use a period of 15 minutes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;NOTE: The start and end time parameters are always UTC time, so when you are recollecting the data, you need to pay close attention and convert your local time to UTC or else you could be risking missing some data.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;5. If you use Micorsoft Reporting Services reports, run database full process either by:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;• Executing the "XXX: Reporting OLAP database management" found in &lt;STRONG&gt;Microsoft SQL Server Management Studio -&amp;gt; SQL Server Agent -&amp;gt; Jobs -&amp;gt; "XXX: Reporting OLAP database management"&lt;/STRONG&gt;. This will run the &lt;STRONG&gt;Process Full&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;• Manually running the &lt;STRONG&gt;Process Full&lt;/STRONG&gt; directly against the OLAP database:&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;a. Connect to the Analysis Services Engine using Microsoft SQL Management Studio.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;b. Right-click on the OLAP database and then choose &lt;STRONG&gt;Process&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;c. Make sure the process type is set as &lt;STRONG&gt;Process Full&lt;/STRONG&gt; and then click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Oct 2023 11:49:56 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Contact-Pro/Recollecting-reporting-data/m-p/12814#M487</guid>
      <dc:creator>Nina_Makkonen</dc:creator>
      <dc:date>2023-10-18T11:49:56Z</dc:date>
    </item>
  </channel>
</rss>

