I have a star schema, the fact table is sales I have a product, region date dimension (date, year, month, day). Now I have a file that contains goals of sale by year and month , Now i need to compare the goal of sale with the real value (from sale fact). But I did not know what I should do I already have my sale_fact with its dimension ,Now I am thinking of creating a new fact table goal with 2 dimensions year and month ( is it a good idea) But how will I compare it with the sale (fact sale) they won't have the same dimension.
Related Questions in DIMENSIONS
- Select the data.frame with maximum dimensions from a list of data.frames
- Get toast notification dimensions (size, rect)
- Creating a moving correlation Heat Map using treeclim, mysterious hidden column?
- Python: Plot array as function of time
- Telegram gif dimensions are invalid
- GA4 API User Segment vs Session Segment
- How to set dimension of arrays inside nested structs
- Why is out channels in pyg autoencoder set to 16?
- PowerApps - screen size issues
- How to make a function work with different sized meshgrid/linspace inputs
- how to provide constraint for convex problem in python
- python-docx unable to create a table with desired dimensions
- Error incorrect number of dimensions in msprep for multi-state modelling in R
- Why my Android device is applying sw410dp styles when it is 480dp?
- dimentions of images red channel to FC network input
Related Questions in STAR-SCHEMA
- How to model such that a drill through for Order suppliers having M:1 relation with Order fact table can be configured?
- Indexed parent-child hierarchy table to fact table
- Power BI star (constellation) schema: 2 fact tables with relation between each other
- Difficulties with Data Model Design
- Should dimension tables ever be larger than fact tables?
- Dimensional Modeling: Joining Dimensions together without a Fact Table
- When do I update things via Slowly changing dimensions and when via Fact table?
- How to handle order line level dimension when used along side a Order level measure?
- How to model a header detail level granularity table alongside a header level fact table when a certain dimension is only applicable to the header?
- How to model a header detail requirement when header has values that cannot be apportioned to details?
- OLTP-STAGGING-DW-DUPLICATES
- Order of duplicate keys in non-clustered indexes [SQL Server]
- Creating a relationship between unconnected tables
- SQL DWH create new foreign logic
- Handling updates in Apache Druid for data from a commerce system
Related Questions in FACT-TABLE
- Rebuilding fact tables with over 30 million rows takes over 1hr
- the right grain of a fact table in data warehouse
- Power BI star (constellation) schema: 2 fact tables with relation between each other
- How to build Dimensional model for commission received and return
- Building dimensional model from multiple sources
- Data Modelling for Fact Table which refers to a same column for Revenue, Standard Cost
- Data dimensional model
- Handling multiple Fact Tables with different Aggregation
- How to know if it is a good choice to make a field with only a few distinct possible values as a dimension table?
- What's the difference between a DataMart and a Fact Table?
- Hirerachal dimensions
- Can I include string values in Fact Table?
- Can I store textual fields in fact table of Datawarehouse?
- Fact Table and Grain - Repeating Measures?
- How to handle repeating values in fact table due to few numeric columns being at a higher grain?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes, create a 2nd fact table for targets, this would be attached to a month dim (containing month and year data) and whatever other dimensions are relevant.
You then have to query the 2 facts by equivalent dimensions and compare the 2 result sets. For the sales fact table you would need to aggregate it by at least month to get it to align to the goals fact table; though you could, of course, create a sales monthly aggregate fact table to improve performance if necessary