<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CAST Engineering Dashboard - Quality rule - Incorrect Total Checks on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-quality-rule/cast-engineering-dashboard-quality-rule-incorrect-total-checks/</link><description>Recent content in CAST Engineering Dashboard - Quality rule - Incorrect Total Checks on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-quality-rule/cast-engineering-dashboard-quality-rule-incorrect-total-checks/index.xml" rel="self" type="application/rss+xml"/><item><title>Excerpt - Incorrect Total Checks</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-quality-rule/cast-engineering-dashboard-quality-rule-incorrect-total-checks/excerpt-incorrect-total-checks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-engineering-dashboard-component-ced/cast-engineering-dashboard-quality-rule/cast-engineering-dashboard-quality-rule-incorrect-total-checks/excerpt-incorrect-total-checks/</guid><description>&lt;ol&gt;
&lt;li&gt;
&lt;ol&gt;
&lt;li&gt;If the total check value from the manual execution is greater than the expected value of the total Check:
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Check if the objects involved in the total check are shared between several Analysis Units. For that run the following query on the central schema&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;select dso.object_id, dso.object_name, dso.object_full_name
from DSS_OBJECTS dso
join ( select R.SNAPSHOT_ID,
R.OBJECT_ID,
count(distinct DLIM.PREVIOUS_OBJECT_ID) as SHARING_FACTOR,
count(distinct DLI.PREVIOUS_OBJECT_ID) as T_SHARING_FACTOR
from DSS_METRIC_TYPES T
join DSS_METRIC_HISTO_TREE HT
on HT.METRIC_ID = T.METRIC_ID
and T.METRIC_GROUP = 1
&amp;ndash; and HT.METRIC_CRITICAL = 1
join DSS_METRIC_RESULTS R
on R.METRIC_ID = HT.METRIC_ID + 1
and R.METRIC_VALUE_INDEX = 1
and R.SNAPSHOT_ID = HT.SNAPSHOT_ID
join DSS_LINK_INFO DLI
on DLI.SNAPSHOT_ID = HT.SNAPSHOT_ID
and DLI.LINK_TYPE_ID = 3
and DLI.NEXT_OBJECT_ID = R.OBJECT_ID
join DSS_LINK_INFO DLIM
on DLIM.SNAPSHOT_ID = HT.SNAPSHOT_ID
and DLIM.LINK_TYPE_ID = 1
and DLIM.NEXT_OBJECT_ID = DLI.PREVIOUS_OBJECT_ID
join DSS_OBJECTS dsom
on dsom.OBJECT_ID = dlim.PREVIOUS_OBJECT_ID
and dsom.OBJECT_TYPE_ID = 20000
and dsom.OBJECT_NAME not like &amp;lsquo;%union_content%&amp;rsquo;
join DSS_OBJECTS dsot
on dsot.OBJECT_ID = dli.PREVIOUS_OBJECT_ID
where R.SNAPSHOT_ID = &amp;lt;Snapshot_id&amp;gt;
and T.METRIC_Id = &amp;lt;Metric_id&amp;gt;
group by R.SNAPSHOT_ID, R.OBJECT_ID
) T
on T.OBJECT_ID = dso.OBJECT_ID
where T.SHARING_FACTOR &amp;gt; 1 &lt;br&gt;
or T.T_SHARING_FACTOR &amp;gt; 1&lt;/p&gt;</description></item></channel></rss>