Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
let's say i have
taskdim - taskid, taskName
opportunitydim - oppid, oppName
resourcedim - rsrcid, rsrcNm
taskfct - date, taskid, taskhours
oppfct - date, oppid, opphours
let's say tasks are in the past, a little in the future, and all opps are in the future. this data cannot be shoved into the same table, task and opps are on differently levels of granularity. now let's say i want to graph hours by day. i'm using a stacked column chart that is graphing hours by month. there is a task stack and on top of it there is an opp stack. no problems with that so far.
*then* i add an office field to each fact table, as well as a manager field. i want the user to be able to filter by office. if i name one officetask and the other officeopp then i would need 2 selectors in the front end to pick office - no go. however if i name them both office, they create a loop i don't like and the data seems to come out incorrect. please advise.
Let me try to get a more complete answer here.
sickmint79 wrote:should i be making the effort/is it normally achievable to remove all synthetic keys from a qv model?
sickmint79 wrote:why is this synthetic key being made here, and how would you remove it?
sickmint79 wrote: my original one was similar to this, although rather than office being on the fact table, i had office as an attribute of both opportunity and of task. if you name them task_office and opp_office you will have no problem, however if you name them both office you will see the loop i was talking about. i see how pushing it down to the fact layer actually closes that loop in your example, kind of like making an office dimension. this is the correct way to resolve this loop?
sickmint79 wrote:my model has however gone from 1 previously existing synthetic key to now 3. perhaps related to other parts i am working on as well.