March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
My head might not be placed right at the moment, I'm struggling a to find a solution for this.
This should definitely not be a unique scenario, but I don't find information on it.
I have a model with sales data where I try to minimize data in the fact table to hopefully increase performance. The company has constructed a business area logic, that is basically derived from a combination of Customer master data and Product master data. This can of course be derived through if's and but's and creating a logic in the fact table itself, which has been the case up untill now. But I'm trying to "decouple" this business area logic, and wanted to see if it was doable/feasible to create this business area logic just based on the Customer and Product master data alone. But of course, these are two different tables, and are not related in any way.
Is it possible to create a relation between the customer and product dimension tables to arrive at a business area logic, which could be used to filter the sales data? Or am I just working in a dead end?
@Vegard1985 , a measure of fact create a relation between
Refer this example
https://www.youtube.com/watch?v=cyOquvfhzNM
In the same way we can create new logic the dim work with each other
We can use https://docs.microsoft.com/en-us/dax/treatas-function
https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/
Hi amitchandak,
Thanks - but I didn't quite understand.
Could you please guide me to the concept of how this could work for me?
Let me try to explain my scenario a bit more:
What I was hoping to go for, was a third table where we have the mapping cleared out based on the "key" you can create in the customer master data and the "key" from product master data. But I struggle with trying to connect the dots from the customer and product master data, to this third dimension.
I end up with the "only one filtering path between tables is allowed".
This is from my last attempt, where I first thought to create a many-to-one relationship from the customer and product tables using a bridge, then likewise for the "business area determination" table. I understand this relationship is troublesome for Sales Data - but I was just trying.
The error pops up once I try to set Customer Bridge - Business Area Bridge relation direction to Both.
Do you mean there's some trick to work around this?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |