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.
Hi guys,
I have an issue I am not sure it is possible to solve: I created a list with field parameters that I would like to filter based on a simple condition.
Is it possible to dynamically filter a list?
Somehting like:
Filter_List = IF(SELECTEDVALUE(Table)="xxxx", -- show a selection of elements from a list )
Thanks a lot for your answers.
Solved! Go to Solution.
See if you can adapt the solution below. The concept is to create a table ParameterFilter that has a relationship with the system-generated parameter table. Then create a slicer using ParameterFilter, and it will display only the relevant items in the list.
Proud to be a Super User!
See if you can adapt the solution below. The concept is to create a table ParameterFilter that has a relationship with the system-generated parameter table. Then create a slicer using ParameterFilter, and it will display only the relevant items in the list.
Proud to be a Super User!
Thanks a lot @DataInsights , that is working!
I would only have one additional demand to make it perfect: when I change the "filtering" list, the choice of the second one still remain. That means that as long as I do not select something, you will have an item selected that should not be available.
Do you know if there is an option to "reset" a list to avoid this issue?
Thanks a lot for your help.
Can you illustrate the issue with screenshots?
Proud to be a Super User!
Sure @DataInsights . Here's the issue.
Let's say I have a list of grades:
When I select one, I will have a choice of employees with the corresponding grade. Examples:
...
Using your technique is perfectly working. The only issue I have is: when I select Employee 5 for example and I change the grade, the ticker will still be on Employee 5, even is the grade does not correpond. Is there a way to reset the second list to avoid that?
Thanks a lot
I've seen this behavior when a slicer filters another slicer. The secondary slicer retains its value after the primary slicer is changed (the value in the secondary slicer is no longer valid in the new filter context of the primary slicer). Unfortunately, I'm not aware of a way to resolve this.
Proud to be a Super User!
No problem.
I changed my graphs in order to show nothing when this happens. Not a big issue, I just wanted to checkif there was somehting to do or not.
Thanks a lot for your help @DataInsights
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
104 | |
77 | |
67 | |
63 |
User | Count |
---|---|
144 | |
107 | |
105 | |
82 | |
69 |