Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
decarsul
Helper V
Helper V

How to mass create relationships?

Good day all,

 

I am currently working on a dashboard, that requires me to make roughly 60 relationships between 2 tables. One is a fact table, the other is the calendar table. 

 

Right now, i only know how to do this 1 by 1 with the relationship manager thingy.

Is there perhaps a multi selection menu, where i can just select 1 table / column on the left as a source, and endless on the right?

 

Or maybe something i can enable that will cause powerbi to automatically create the relationship (if possible) when using the 'userelationship' command in a measure?

2 REPLIES 2
danextian
Super User
Super User

Hi @decarsul,

 

I am not aware of any other way to create relationships between two tables other than from the Relationship View or from Manage relationships dialog box. Also, please take note that, although you can create more than one relationship between two tables, only one of those can become active at a given time.

danextian_0-1654756500557.png

 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thanks for the quick response.

Yeah i am ware only 1 can be active, that's fine. And i'm frustrated on how this data is being supplied, which causes me to run into this issue.

 

But yeah . . . i hope someone else maybe has a solution.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.