Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I am trying to create a Table that maintains All Customers within the State when a Single Customer is selected in a Slicer. See example below. Below I have a SALES and CUSTOMER table and I wish to create the CUSTOMER STATE TABLE that will always display All Customers in the State. Right now, I can either only show the select Customer Value in the table or I can use Format-->Edit Interaction to show ALL Customers. Hope this makes sense. Thanks in advance for any help.
| SALES | CUSTOMER | ||||
| Customer | State | Sales | Customer | Customer Name | |
| 1 | CA | 100000 | 1 | Brainy Smurf | |
| 2 | CA | 200000 | 2 | Papa Smurf | |
| 3 | CA | 300000 | 3 | Smurfette | |
| 4 | FL | 300000 | 4 | Handy Smurf | |
| 5 | FL | 400000 | 5 | Baker Smurf | |
| 6 | FL | 600000 | 6 | Jokey Smurf | |
| 7 | NY | 900000 | 7 | Azriel | |
| 8 | NY | 100000 | 8 | Gargamel | |
| 9 | TX | 800000 | 9 | Vanity Smurf | |
| 10 | TX | 600000 | 10 | Hefty Smurg | |
| Customer Slicer | 4 | ||||
| Table Visualization - I would like to create a Table that displays all Customer in the State of the Selected Customer in the Customer Slicer. Example below: | |||||
| STATE CUSTOMER TABLE | |||||
| Customer Name | State | Sales | |||
| Handy Smurf | FL | 300000 | |||
| Baker Smurf | FL | 400000 | |||
| Jokey Smurf | FL | 600000 |
Solved! Go to Solution.
Hi,
I have solved a similar problem in the attached file.
Hope this helps.
Construct the CUSTOMER dimensional table this way,
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
I see how your solution works with the sample but I am struggling to integrate it into my actual data. I have attached a link to the actual pbix used. In the model, I have a Slicer for "Hospital". I inserted a Table and tried to recreate the Measure used in your example but was unsuccessful. Measure equivalents in attached model are: Hospital Name = Name, SALES Qty = State Rank Filter and Rank = SUM Sales. With these calculation when I use the Slicer to filter by a Hospital, the Table will only display the MAX Hospital in the State. How do I get ALL Hospitals in a State to display when a single Hospital is selected with the Data Set in the pbix attached. Thanks for your help.
https://drive.google.com/file/d/16g6ooz88UbtQLdZFQvKkObLIUquuK9zN/view?usp=sharing
Hi,
Please clarify the result that you want to see. Let's say that you select Good Samaritan Hospital in the slicer. What exact result do you want to see - show the result in a table.
Hi Ashish,
If you select Good Samaritan Hospital and it is located in California, I want the Table to display all Hospitals with the State of California. Hopefully, that makes sense.
Brian
@bprokop check this video on my channel, addressing a similar question: How to override slicer selection to return all records | PeryTUS - Power BI How To - YouTube
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 26 | |
| 25 | |
| 18 |
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 39 | |
| 28 | |
| 21 |