March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |