Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need help setting up my relationships across two tables to allow me filter correctly.
The first table contains all staff information with txtEmployeeNumber as the primary key.
The second table has information on the sections and some staff work across various sections.
ADUsers StaffSection
txtEmployeeNumber 1:* txtStaffID
Title txtSection
The cardinality is many to one and cross-filter direction is both.
I have created a table visual from my staff table and want to filter using a slicer based on sections so that when I click each section, any staff assigned to that section should appear.
The table works fine but when I click a section in the slicer, the table goes empty.
Here is a screenshot of what I am trying to achieve and my results so far.
When the slicer is not selected
Slicer not selected
And when the slicer is selected
Slicer selected
Could someone please point me in the right direction?
Hi gozieokeke,
Double check that the values in the two columns in the relationship are actually matching properly. That's my first thought whenever a slicer returns nothing. If they visually look the same, one common issue is a difference in white spaces.
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
P.S. Need a more in-depth consultation for your Power BI data modeling or DAX issues? Feel free to hire me on Upwork or DM me directly on here! I would love to clear up your Power BI headaches.
Proud to be a Super User! | |
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |