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! Learn more

Reply
Anonymous
Not applicable

Multiple active relationships/sorting for reports

I have table that is working fine.  However, for reporting purposes, I want to sort columns in a particular order ("Other" at the end, etc.)   I have solved this by setting up a seperate table with sort order.  The problem is that it works for one field, but if I want a second sort table, the second relationship won't become active.  

 

Capture.PNG

 

Independently, each relationship works fine.  However they can't both be active, but I can't figure out why.  

 

Even more confusing, I have a different table where I have no issues having two seperate sort tables.  

Capture2.PNG

 

5 REPLIES 5
parry2k
Super User
Super User

@Anonymous you can have only one relationship active between two tables, the reason it works for separate table because of two separate tables and one active relationship. It is correct working, although you can use inactive relationship in your measure by using userrelationship function that makes the inactive relationship to active, only in measures



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Parry2k -- I will look at userrelationship.  But I'm consfused why it works in the second picutre but not the 1st.  The relatioships between the sort tables and the main table are similar, but works in one but not the other.

 

Thanks,
Raghu

@Anonymous because you have a relationship with two separate tables, and can be active. Not sure what is the confusing part.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

can you show which columns are used in each relationship? 

Anonymous
Not applicable

In the table where it works, I have a 1:* relationship between column  "Index Providers" in table "Sort-Index Providers" and the same column in the table "ETF Characteristics".  Similar with "ETF Sponsor" in table "Sort-ETF Sponsor" and table "ETF Characteristics"

 

I tried this with "Company Characteristics" setting up seperate tables for columns "Size" and "Type", but that doesn't seem to work.


Thanks for getting back to me on this

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