Forum Discussion

pedroccamaraDBI's avatar
pedroccamaraDBI
Icon for Post Partisan rankPost Partisan
5 years ago
Solved

Sum from a second lookup table

Hello all

I have my sales fact table, (1st) with all the values that i need. This fact table is connected to clients dimension table (2nd) and this one is also connected to another dimension table, (3rd) for cost center.
In my report i want to show my sales measure by cost center, i mean, total sales from the first table, using the cost center filter from the 3rd table, like this pic


Thanks a lot all of you
Best regards

Pedro

4 Replies

  • vanessafvg's avatar
    vanessafvg
    Icon for Community Champion rankCommunity Champion

    so your relationships are all single directional ie your fact has a many to one relationship with 2nd table and 2nd table has a many to one relatonship with table 3?  

    have you set this up already can you screen shot your relationships?

     

    firstly what is the purpose of using table 3? using cc name?

    • pedroccamaraDBI's avatar
      pedroccamaraDBI
      Icon for Post Partisan rankPost Partisan

      Hello vanessafvg 
      Thank you for your message and i'll try to answer you.
      My relationships are both single direction. Like this picture and not the other above.

      And the purpose of using table 3 is because at some point, i believe i'm gonna add another table to table 3 and also i need to use those fields with hierarchies.
      Thansk a lot
      Pedro