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.
Star schema Sales and goal
453 Views Asked by andy At
1
There are 1 best solutions below
Related Questions in DIMENSIONS
- PHP Imagick - output resized image AND its dimensions
- Why cant I refer to a random index in my 4D list, while I know it exists?
- Can not figure out how to print second dimension in three dimension List
- Itext rectangle from milimeters
- Tableau calculated fields from 2 dimensions
- SQL Server Analysis Services - using IgnoreUnrelatedDimensions
- Google Analytics Reporting API Dimension Filter regex
- input dimension reshape in Tensorflow conolutional network
- Youtube api V3 get video resolution
- MDX or DMX Query to get DimensionId
- Handling all screen sizes android
- Convolution layers decrease dimension of output in Keras?
- Python - printing 2 dimensional array in columns
- How to transform 'double' into 'cell array'?
- HashMap n-dimensional using a recursive function
Related Questions in STAR-SCHEMA
- Star schema role in the Pentaho Mondrian OLAP server
- How to create Star Schema Benchmark(SSB) tables?
- SSIS Surrogate Key incrementation
- Can non-additive facts be part of transactional fact table
- Collapsing Rarely Changing Diminsions to a Fact Column
- Snowflake dimension with multiple levels mondrian
- schema designing in data warehousing and mining
- How are fact tables formed in relation to the dimension tables?
- what is the best way to join records of multiple dimension tables that are all connected by a common fact table
- How to populate dimensions with no matching columns?
- Table A's PK is being referenced by Table B's FK. Cannot drop Table A's PK
- SQL DWH create new foreign logic
- Creating a relationship between unconnected tables
- Order of duplicate keys in non-clustered indexes [SQL Server]
- OLTP-STAGGING-DW-DUPLICATES
Related Questions in FACT-TABLE
- Identifying percentage in Fact Table
- Best query for getting success/failure ratio from warehouse fact table
- How are fact tables formed in relation to the dimension tables?
- Factless Fact Table, but with Facts?
- SSAS - Is there a way to have a dimension relate to a fact table based on two columns in the fact table?
- Data dimensional model
- Data Modelling for Fact Table which refers to a same column for Revenue, Standard Cost
- Dimensional design: not sure about fact vs. dimension for a certain types of data
- Row Inserted and Updated Time in Fact Table
- Data Warehouse Fact Tables - MERGE OR DROP & INSERT
- Star Schema from multiple source tables
- Power BI - Data Modeling
- Fact table and Dimension tables
- Problems with Column in Fact Table
- What dimensions to use for a fact table Incident"
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)
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?
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