Forum Discussion

bprokop's avatar
bprokop
Frequent Visitor
2 years ago
Solved

Table Visualization Display All Customers In A State When A Single Slicer Value Selected

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
CustomerStateSales CustomerCustomer Name
1CA100000 1Brainy Smurf
2CA200000 2Papa Smurf
3CA300000 3Smurfette
4FL300000 4Handy Smurf
5FL400000 5Baker Smurf
6FL600000 6Jokey Smurf
7NY900000 7Azriel
8NY100000 8Gargamel
9TX800000 9Vanity Smurf
10TX600000 10Hefty Smurg
      
      
Customer Slicer4    
      
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 NameStateSales   
Handy SmurfFL300000   
Baker SmurfFL400000   
Jokey SmurfFL600000   

6 Replies

    • bprokop's avatar
      bprokop
      Frequent Visitor

      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 

      • Ashish_Mathur's avatar
        Ashish_Mathur
        Super User

        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.