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

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.

Reply
nkasdali
Employee
Employee

left relationship without merging

Hello,
I have a question about the relationships between the tables in PBI.
Example:
Sales table: with year field (2017 & 2018)
Calendar table: with the year field (2010 to 2018)

Both tables have a relationship on the date field,
In my example, a YEAR slicer from Calender shows values from 2010 to 2018.

I'm used to Qlik, we can define a relationship with a LEFT KEEP (it recover from the right that correspond to the left).

So how can I make my "Calendar" table only show the data equal to my Sales table. Is there a way to do the same thing with PBI? without using the merge function please

 

Regards

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@nkasdali try cross filter direction to both where you setup the relationship.



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.

View solution in original post

2 REPLIES 2
anilb1603
New Member

Hi,
I have a similar requirement where I have 5 different tables in a model and I need to apply a filter to all the tables without using a merge. In qlik, we can simply use Left Keep which would take care of filtering. Looking for the same option in Power BI. Basically, my PBI model (tables) is connected through Order#. I need to apply the filter Order status = 'Active' in the first table which would give the active order#'s and then keep the same acive order#'s in all other tables in the model. I looked at some list filter options but not sure that's an efficient way to do this.

 

Any help would be appreciated.

 

Thanks

parry2k
Super User
Super User

@nkasdali try cross filter direction to both where you setup the relationship.



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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors