Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, im making a tabular model to use in Power BI and i have more than one fact table related, (Orders, sales, shippings) and all the tables are related to the Client, Items, Calendar dimensions but I can only use these with one of the fact tables because the tabular model allows me only one active relationship. How can i solve this?
- I am trying not to create multiple sets of dimensions for each table of fact
-everytime that i would like to make reference to a dimension which isnt active use DAX USERELATIONSHIP expression into a measure but what about an item description?
-I also thinking to migrate the project to a multidimensional model but I do not know if I will solve the problem cause I do not have much experience.
I would like to know a better solution from this great community
Thanks! and sorry for my bad English.
Hi,
I am also facing the same issue with Mutliple facts and multiple dimensions.
Hi Praveen,
Fact tables should not be related together : dimension table are related to Fact tables. If you need to relate fact, then you should ask yourself : what is the exact need ? Could I create a new dimension to express the need, and then I will relate this new dimension to multiple fact tables, which is of course always possible (except if data is buggy). Does this help ?
Please look at the Microsoft GuyinACube video on multiple dimensions and multiple fact tables.
@MAXI279 it will be easier to understand how to help you if you provide more information.
what exactly do you want to do that you are not able to do? can you show me what your relationship view looks like, it sounds to me like maybe something else is going on please screen shot your relationship view
Proud to be a Super User!
Hello @vanessafvg, thanks for your answer, below I attach an image of my tabular model. I can correctly analyze each of the fact tables separately using the dimension tables but I am having problems when using the non-active relationships cause I am not able to relate Shipments with Sales that are linked through Deliveries by two non-active relationships . How can i do this?
Am I using the DAX USERELATIONSHIP function correctly?
Shipment Date = CALCULATE(MAX(Shipments[dt-embarque]);USERELATIONSHIP(Shipments[nr-embarque];Delivery[nr-embarque]))
Thanks for you collaboration 🙂
Same problem here. Have you found a solution since?
Hi, im making a tabular model to use in Power BI and i have more than one fact table related, (Orders, sales, shippings) and all the tables are related to the Client, Items, Calendar dimensions but I can only use these with one of the fact tables because the tabular model allows me only one active relationship. How can i solve this?
- I am trying not to create multiple sets of dimensions for each table of fact
-everytime that i would like to make reference to a dimension which isnt active use DAX USERELATIONSHIP expression into a measure but what about an item description?
-I also thinking to migrate the project to a multidimensional model but I do not know if I will solve the problem cause I do not have much experience.
I would like to know a better solution from this great community
Thanks! and sorry for my bad English.
Hi Maxi,
Did you solve your multifact table issue ?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |