• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Data modeling with cascaded relationship

excelmonk

New Member
Dear All,

Here is my simplified model. There are three tables - Fact Table, Region table and Employee table. Sample data is as follows:

Fact table
67507

Region table

67508

Employee table
67509

Relationship are defined in model as

Facttable[Employee] = Employee Table [ Employee]
Employee Table [ Region] = Region table [ Region]

My requirement is to build a pivot with Region Manager name and get the Total of appointments for each Manager. I use a simple measure

TotalAppointments=CALCULATE(sum(Fact_Table[Appointmentsdone]))

Here is how the data looks with this measure for employees and managers

67510

How do I get Manager A same as Employee A i.e. 8, manager B =16 and Manager C =8.

Thanks!
 
Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

2. Make sure that your desired results are also shown (mock up the results manually).

3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

4. Try to avoid using merged cells as they cause lots of problems.

Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
 
Back
Top