This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I have a visual that shows the Visits per Company. When I select a certain Company in a slicer, I want the visual to only show the copmanies that have the same value in the field Peer Group as the selected Company.
I've tried building measures with SELECTEDVALUE and editing the interactions of slicers and the visual, but the visual always just shows all the companies.
The fields Copmany, Visits and Peer Group are all from the same table Startups.
Does anybody know how this could be achieved? Thank you!
Hi @maflingo,
Thank you for using Microsoft Fabric Community and Thank you @pankajnamekar25 for your response.
May i know is your Issue Been Resolved? If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.
If yes, kindly accept the useful reply as a solution and give us Kudos. It would be appreciated.
Thank you.
Hi @maflingo,
we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed by the community member for your query, please mark it as Accept Answer and click Yes if you found it helpful.
Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!
Hi @maflingo,
we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed by the community member for your query, please mark it as Accept Answer and click Yes if you found it helpful.
Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!
Hello @maflingo
Add this measure to your visual.
FilteredVisits =
VAR SelectedPeerGroup = SELECTEDVALUE(Startups[Peer Group])
RETURN
CALCULATE(
SUM(Startups[Visits]),
FILTER(
Startups,
Startups[Peer Group] = SelectedPeerGroup
)
)
Ensure the slicer is filtering only the Company field.
The measure will dynamically adjust the visual to show only companies in the same Peer Group as the selected one.
Thanks,
Pankaj
If this solution helps, please accept it and give a kudos, it would be greatly appreciated.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |