Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AshDil
Helper V
Helper V

Switching Dimensions based on slicer selection

Hi,

I have 3 tables as follows:

Table 1:

Report
A
B

Table 2:

Segment Amount
North100
East200
South300
West200
Central400

Table 3:

 

Segment Amount
North100
East300
Central500

 

Now I will add report column from table 1 to slicer,

If 'A' is selected in slicer, I want to show segment and amount from Table 2

If 'B' is selected in slicer, I want to show segment and amount from Table 3

 

Please help me to do.

 

Thanks,

AshDil.

1 ACCEPTED SOLUTION

Hi,  @AshDil 

As @Ashish_Mathur said , you have to consider integrating the data from Tables 2 and Table3.
I have created a sample file for your reference. Hope it will help you.

19.png

18.png

 

If you consider this thread closed,please mark the helpful replies or add your reply as Answered to close this thread.Other community members will easily find the solution when they get the same issue.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Here's my suggestion:

  1. In the Query Editor, add a Report column in Table 2 with all A's in that column
  2. In the Query Editor, add a Report column in Table 3 with all B's in that column
  3. Append Table 2 and Table 3
  4. Create a relationship from the Report column of the appended table to Table 1.
  5. Build your slicer from Table 1
  6. Build your visual

Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @sevenhills ,

My requirement is near to above suggested one but not complete solution because in above mentioned the data is coming from same table but in my case the data comes from 3 different tables. So, Please suggest me to do.

Thanks,

AshDil

Hi,  @AshDil 

As @Ashish_Mathur said , you have to consider integrating the data from Tables 2 and Table3.
I have created a sample file for your reference. Hope it will help you.

19.png

18.png

 

If you consider this thread closed,please mark the helpful replies or add your reply as Answered to close this thread.Other community members will easily find the solution when they get the same issue.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.