The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I have a question if anyone please suggest a solution.
I have 2 line charts and one dataset has data coming from 2 different tables. (I did join those 2 tables in SQL before importing into PowerBI). I am trying to use only 1 slicer which would filter both line charts. I cretaed 2 slicers and sync them. It works perfect but I am trying to display only one of the slicers on the page. If I get rid of one of the slicers remaining one won't filter the 2 line charts. It will only filter one of them since the dataset is from 2 different tables.
Thank you
You would either have to
A. Put a table with the selection options in the model that links to both tables and use that.
B. Look at TREATAS to write the measure for the second visual using the selection from the first table.
https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/
Can you set the 2nd slicer to hidden since the synch is working?
I did that too actually but I am not allowed to use that option. Thank you though.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
82 | |
64 | |
53 | |
52 |
User | Count |
---|---|
128 | |
115 | |
80 | |
65 | |
63 |