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
torporsche
Frequent Visitor

Help with Dynamic Filtering

Hi, I am a new Power BI user stuggling with filtering in a line chart. My issue revolves around two columns in my data: 

 

Goal:  (event, healther, muscle, transform, weight)

Fitness App: (A,B,C,D,E,F,G,H,I,J.....)

 

When a Goal is selected in the slicer, the visual updates correctly for all Fitness Apps in the dataset. However certain apps are relevant only for certain Goals and I would like to dynamically display only those relevant apps based on the slicer selection.

 

Here is what the visual looks like now:

Image 8.png

 

What I am trying to accomplish is to display data for specific "Fitness Apps" based on the Goal Type in the slicer. For example:

 

Slicer Selection: Goal = event

Result: Display data only for Fitness Apps A, D, F

 

Slicer Selection: Goal = healthier

Result:  Display data only for Fitness Apps B, G, H

 

And so on.

 

Here is a mock-up of what I am trying to do and the three apps in the line chart would dynamically change (based on a pre-defined list) as the slicer selection changes:

 

Image 9.png

Is this possible? Any recommendations would be appreciated.

 

Thanks!

 

 

4 REPLIES 4
gooranga1
Power Participant
Power Participant

What does your table structure look like? Do you have separate tables with joins between Goals and Fitness Apps?

 

If you do you could try setting the Cross Filter Direction to "Both",

I tried using cross-directional filtering but could not get it to work. I created both long and wide look-up tables (using goal type as a key) that indicated which apps I wanted associated with each goal type but the unwanted apps weren't filtered out. The visual still contained all apps.

Ashish_Mathur
Super User
Super User

Hi,

 

Share the link from where i can download your PBI desktop file.


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

Hi Ashish,

 

Thanks for offering to look at this. The actual visual contains sensitive data so I cannot share it. Would you have any general recommendations I could try?

 

Thanks!

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.