Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Everyone, I have a requirement in which i have to apply filter on name field on a table visual,
Presently I only have 4 names available in the name column, I want to apply filters of 10 names such that if any data comes in future related to them then it will get filter out.
I tried to manually add the name by switching the basic filtering to advance filtering but it's only allowing me to add limited number of names.
Is there any other possible way?
Solved! Go to Solution.
Hi @anmolmalviya05 ,
Thanks for amitchandak's reply!
And @anmolmalviya05 , you can try this:
Here is my sample data:
You need to add another table with all 10 names in it:
Then use this DAX to create a measure:
Measure =
IF(
MAX('Table'[Name]) IN VALUES('#10'[#10]),
1,
0
)
Make the settings as shown in the following figure:
And the final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@anmolmalviya05 , You can check if the preselected slicer can help. As of now, we can not default value of the slicer using measures
Hi @amitchandak, Thanks for your reply,
I want to apply this using filter option in filter pane.
I have attached a screenshot for reference,
Here I'm able to add only two values other than the value available in dataset. But i want to add 10 such values.
Approach I tried: First i selected all tha values available in dataset from basic filtering, then switched to advance filtering and replaced the existing name, but this is possible only for the number of names present in the data, i.e in this case i can only add 4 names, but i want to add upto 10 names.
Hi @anmolmalviya05 ,
Thanks for amitchandak's reply!
And @anmolmalviya05 , you can try this:
Here is my sample data:
You need to add another table with all 10 names in it:
Then use this DAX to create a measure:
Measure =
IF(
MAX('Table'[Name]) IN VALUES('#10'[#10]),
1,
0
)
Make the settings as shown in the following figure:
And the final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
121 | |
73 | |
73 | |
63 |