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

Don'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.

Reply
GabGarcia
New Member

Power BI Visual and slicer relationship error

Hello, 

 

I'm building a dashboard to track rental equipment usage within the company. To structure the data, I combined two queries to create a new "Job Assignment" table, which includes the unique job assignment IDs from both original tables. This setup allows me to establish a one-to-many relationship for better data organization.

I'm using a map visual with the job site address, but my slicers aren’t detecting the expected information. How can I ensure the relationships are properly connected?

GabGarcia_0-1738597745378.png

GabGarcia_1-1738597770103.png

GabGarcia_2-1738597788458.png

 

 

 

5 REPLIES 5
speedramps
Super User
Super User

You can learn about Power Bi relationships here

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships

 

Your Job Assignment table has an One-To-Many relationships with Single cross filter direction.

 Therefore slicers on Equipment wont apply to Sites or vice versa.

 

Consider using Power Query to merge the Equipment and Sites to give you a single table.

This is not necessary the best practice but will give you very quick results if you are a Power Bi novice

https://learn.microsoft.com/en-us/power-query/merge-queries-overview

 

Or build a start schema with who, where, what, wher and when dimensions and fact table for measures.

Unfotunatley you have provided insufficient information for me to design a star schema for you.

However you can learn about start schema modelling here. 

https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 

Please click the thumbs up button for the ideas.

Also click [accept solution] if any work.

 

Thanks

 

 

 

 

Syk
Super User
Super User

You have relationships set up from 'Job Assignment' to both your other tables. The arrow on the line shows which way your data will filter. In this instance, 'Job Assignment' will filter both 'Job_Sites' and 'Equipment_Rentals'. However, 'Job_Sites' essentially has no idea 'Equipment_Rentals' is a thing and vice versa.

I see! Do you have a recommendation where I can create a relationship from job site to equipment rentals? 

Your solution is so great speedramps 

Hi, @GabGarcia 

As Super User says, you need to follow the direction of the relationship filter. In the case of establishing a 1-to-many, we usually use the fields in the 1-end table to build some slicers to analyze our visual objects:

vjianpengmsft_0-1738650273771.png

vjianpengmsft_1-1738650290091.png

 

I think you can read the SQL BI article so that you can make the right decision:

Relationships in Power BI and Tabular models - SQLBI

If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I'd recommend exactly what @speedramps just posted. If you're new and unfamiliar with modeling and need quick results, make one huge table with all your data.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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