Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Please check the below image for the data model.
Requirement: Every Project has multiple ABS, for closed projects we shouldn't show the ABS data. for e.g in a Pivot table, if we click on a project name, it expands and shows a list of abs under it (like subtasks).
So here, the Fact table is connecting both ABS and Project Master tables.
If Project Status = 'Closed', we should not show ABS data (or we should show N/A).
Please assist.
Thanks in advance.
Koteswar
Do you want the data not be shown (but actually data is in the app for other charts).
Or do you want the data is even not loaded if the ProjectStatus = closed?
I want the data not to be loaded if the ProjectStatus = Closed.
then youshould start with loading ProjectMaster table and adding this where statement to the load statement: where [Project Status] <> 'closed'; //only load Projects that aren't closed.
then you fill your fact table and add the following exists statement:
where exists(project_natural_key)
and at last you load your ABS with: where exists (abs_natural_key)
Thank you, Chris.
This is very helpful.