Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have two tables called Sales and Margin, both table has Party and Date column. now I want to filter total Sales and margin by date and by party. here is a sample data for your reference.
Margin Table
Sales Table
Result look like
I would create a date table and a dimension table called party that has party_id (primary key) and partyname as columns - then do necessary one to many relationships to both other tables.
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |