Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have built a dashboard to display survey results, however now i am trying to integrate a filter to swap between different Surveys dates (Categorical value, not an actual date). The tricky part is that I have a results table, with the field [Survey], however i also need counts of [Department] from both tables, with the ability to slice to different Surveys.
SurveyResults
| UserID | Question | Answer | Department | Survey |
| 1 | 1 | 4 | CS | Mar-19 |
| 1 | 2 | 2 | CS | Mar-19 |
| 2 | 1 | 3 | SM | Mar-19 |
| 2 | 2 | 4 | SM | Mar-19 |
| 3 | 1 | 2 | CS | Sep-19 |
| 3 | 2 | 5 | CS | Sep-19 |
| 4 | 1 | 3 | SM | Sep-19 |
| 4 | 2 | 4 | SM | Sep-19 |
| 5 | 1 | 5 | SM | Sep-19 |
| 5 | 2 | 2 | SM | Sep-19 |
Participation
| Department | Total | Survey |
| CS | 2 | Mar-19 |
| SM | 3 | Mar-19 |
| CS | 2 | Sep-19 |
| SM | 4 | Sep-19 |
They are joined with Many to Many, participation filters SurveyResults (active) on [Department].
However as the relationship is not joined on [Survey], i must use two slicers [Survey] from both tables to get the correct records filtered out, i.e Both slicers = "Sep 2019". I feel this would not be an issue if i could join on both [department] & [Survey].
What would be a better approach? Having to set both slicers to the correct survey isn't great.. I am quite inexperienced at data modelling so any help would be greatly appreciated.
One of my visuals in a table
[Department]
[Number Completed] - Count Distinct([UserID])
[Total Employees] - Sum([Total])
Solved! Go to Solution.
Thanks PR, I beleive your solution to this would also work so I will mark it as solved.
However I actually solved this just now by creating a Merged Column of both [Department] and [Survey] in both tables, and i joined on that. Which worked!! I got the idea from this website (https://radacad.com/relationship-in-power-bi-with-multiple-columns)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |