If I want to know something like 'How many Features did not get assigned to a Capability as of March 31st 2023', is there a way to pull data with this type of logic? What are the tables/columns in Enterprise Insights?
We have both current_dw and export_dw available. Thank you!
Hi @Chrissie Hoots ,
You will need to use the current_dw.Feature History table and filter records that where the FK Capability ID = 0 (No Capability Assigned) and you will need to filter the Feature Fact Valid From and Feature Fact Valid To dates based on March 31, 2023.
The filtering of dates can be a little tricky and you may end up with some duplicate records. I first filtered records where the Feature Fact Valid From is less than or equal to March 31, 2023 and the Feature Fact Valid To is equal to 12-31-9999. These are the current feature records. You may also want to return features that were at one time not assigned to a capability. For those records I filtered records where Feature Fact Valid To equals March 31, 2023.
Here is a sample SQL query. I used GROUP BY to try and remove duplicate records.
Thank you Sam for your prompt response. This should be a good start. I may come back with more questions later.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.