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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How do I manage relationships of multiple tables in a Dataset created from an Excel.xlsm on OneDrive

Context :

 

I have an Excel.xlsm with tables on a OneDrive business. So I created a Dataset from this Excel via Power BI Service. Thanks to this I have created a report based on this Dataset.

 

Problem:

 

How can I manage relationships between the different tables that make up my Dataset ?

 

Example :

 

I have an "Events" table and an "Action" table. Each row of "Events" refers to several rows of "Action". They are linked by "Event_Number" fields. How do I link the "Event_Number" fields of each table ? In order to create common filters and tables ?

 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

If you connect to dataset in the desktop, it will be live connection. So you couldn't manage relationships directly.

You could connect to the EXCEL file directly, or you could make some measures using SELECTEDVALUE() to create a slicer.

Measure = 
IF(SELECTEDVALUE('Table'[Column1])=SELECTEDVALUE('Another Table'[Column1]),1,0)

Then show the data whose measure is 1.

 

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

If you connect to dataset in the desktop, it will be live connection. So you couldn't manage relationships directly.

You could connect to the EXCEL file directly, or you could make some measures using SELECTEDVALUE() to create a slicer.

Measure = 
IF(SELECTEDVALUE('Table'[Column1])=SELECTEDVALUE('Another Table'[Column1]),1,0)

Then show the data whose measure is 1.

 

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
MartynRamsden
Solution Sage
Solution Sage

Hi @Anonymous 

 

Have a read of this article, hopefully it'll provide some answers: docs.microsoft.com/en-us/power-bi/desktop-create-and-manage-relationships 

 

Best regards,

Martyn

 

Anonymous
Not applicable

Thank you so much for the help.

However, it was not really helpful. I do know how to manage the relationships between the tables in classic cases. But this time the option is not available. It is probably due to the data type I used (a Power BI Dataset from an Excel.xlsm on OneDrive).

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors