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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi all,
I'm trying to a build a PowerBI dashboard that looks two identical but reports for two products (cannot be combined) using the same visuals.
E.g. - a bar graph and line that looks at sales in different regions. However you'd have to select 'product A/product B' and this would then be applied to all subsequent visuals on different pages. I'd need the data source in the graph to change depending on the selected product.
In excel I would have done an if function that would tell excel which tab to pull the data from depending on the category selected. I'm struggling to work out the equivalent function in PowerBI.
All help is appreciated.
Thank you!
Solved! Go to Solution.
You can use SELECTEDVALUE Function to make the Slicer/Check box value get invoked.
Selection = SELECTEDVALUE(Table[Column])
Based on this You can create Report and Create Slicer showing the Product A and Product B
The moment you Select Product A , you will see the report which shows only the result of Product A and vice a Versa
Try and let me know
Proud to be a Super User!
You can use SELECTEDVALUE Function to make the Slicer/Check box value get invoked.
Selection = SELECTEDVALUE(Table[Column])
Based on this You can create Report and Create Slicer showing the Product A and Product B
The moment you Select Product A , you will see the report which shows only the result of Product A and vice a Versa
Try and let me know
Proud to be a Super User!
Yes, that's the function I was looking for thank you!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 20 | |
| 19 | |
| 19 |