Hi @ells. Have you modelled your sample data in a PBIX? If so, please attach. Also, do you have an Excel mock-up of a possible report (desired outcome) you think the users may want; may help to describe the question/issue.
Greg
@Greg,
Many thanks. PBIX attached. The first draft is where we have two star schemas and when it comes to Sales we have this connecting to two dimensions - ProductCategory and Product.
I want to use just one dimension. This means when it comes to analysing sales and Budget there will be one product dimension not two.
@Greg
attached an updated PBIX. It does not seem to be working as expected. It is enough top give you an idea. The key for me is to getting showing a single Product dimension and to be able to join to Budgets at category level and to Sales at Product level.
Thanks
E
I would say that not only is it possible, but that it would be the ideal way to model it. (however, in the second diagram, your arrows should be going in the opposite direction). In a time-based model, you would typically allocate your budget table info to match the higher granularity in your fact table. However, in this case, I think might aggregate your more granular fact table data to match the granularity of your budget table, unless you have a good model for allocating product category data to the individual product level.
@BrianJ@Greg
I think I have a solution now. However as there is always a price it comes at a many to many relationship. I have one Product dimension and it joins Sales at Product id ;level (1 Product: m Sales) and then it joins to the Budget table at Product Category level(m:n Product Category: Budget)
This will give the users what they need - a simple way to compare.
Thanks
E
Personally, I would avoid the M:M, and just do this as a virtual relationship using TREATAS. But, if the current model works for you and gives your users what they need, go for it.
Hi @ells, did the response provided by @BrianJ help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark the thread as solved. Thanks!
Hi @ells, we’ve noticed that no response has been received from you since the 22nd of January. We just want to check if you still need further help with this post? In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the checkbox. Thanks!