Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Is it possible to use the same table twice but in each case have it linked in a different way to the other tables?
I have the below tables:
As you can see there is an active relationship with the OutsideRooms tables and an inactive relationships with the OutsideRoomsSales and OutsideRoomsQuotes. I'd like an active version of this table to relationships to these tables also so am thinking if I added anoter instance of it I might be able to do what I want.
Is this something I can do or should I avoid this?
Thanks
Paul
In this scenario, you have a table pattern with loops, then cross filtering can create an ambiguous set of relationships.
The filter can go through the OutsideRooms table or go directly to OutsideRoomsSales/Quotes table here. So the existing inactive relationships here are proper as designed.
There are several different ways you can deal with this situation, here are two options:
You can take a look at following two star schemas as reference.
@runnerpaul, I believe wrote, "Bring in a table twice (with a different name the second time)...".
How do you do this in Power BI?
Asking the same question : can anyone mention how to create 2 instances of the same table?
Regards,
Anunay
@runnerpaul On top of what @MattAllington said and great article by him, guessing that you would want active relationships between all four tables if you change Cross Filter Direction for two active relations in your model from Both to Single then you will be able to make all four relations active provided your data is correct.
The issue is your date table is directly filtering your 2 data tables and indirectly filtering them as well (via the outsiderooms). Plus you have bidirectional filters from your 2 data tables to outsiderooms, compounding the filters tripping over themselves. I am not sure what you are attempting to do, but I guess there is probably a better way. The generally accepted approach is to use a star schema. I wrote about that here. http://exceleratorbi.com.au/the-optimal-shape-for-power-pivot-data/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
211 | |
86 | |
64 | |
59 | |
56 |