Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello, I have a basic table (T1) as shown on the left, I want to be able to filter the rows based on the three available values: A, B, and C. For example if I choose "C" from the filter the table will only show rows with ID 1,2,3 only.
I have imported the table(T2) and created another table that contain all the possible valuse: (I used Col2 as the value of the filter)
I then duplicated T1 in order to seperate the values into seperate rows as shown in T3:
I want to show the table without duplicate rows as in T3 but I want to be able to link it somehow with T1 and T2, and then use the filter.
Appreciate your help and time!
Solved! Go to Solution.
It is not possible. But I could suggest you to modify the measure so that directly you can refer measure instead of the column. But there must be atleast a column from the table which you are searching.
Try this formula,
@aa_KF -
You can create a new Measure like this:
Filter Found Measure = var text_to_find = SELECTEDVALUE('YourFilterTable'[FilterColumn]) var text_to_search = MAX('YourDataTable'[DataColumn]) return FIND(text_to_find,text_to_search,1,BLANK())
Then add this measure to your table. Those values that do not contain the search text will result in BLANK. Rows with only blank measures are, by default, excluded from the result set. You can make the column very narrow so that it won't be displayed.
Hope this helps,
Nathan
@Anonymous ,
That was a good idea.
I would like to suggest creating measure which returns the original string instead of positions like this.
Thank you @Anonymous for your help I appreicate it, would you please elaborate more?
I understand that I won't need the third table (where I split up the table values into seperate columns). and by adding new measure to my basic table I'll be able to use as the value filter?
Thank you!
That's correct -
You don't need the third table.
You can have one table that will contain your different filtering possibilities and another table with the text that you want to analyze. It doesn't matter where you create the measure, in terms of functionality, but it would make the most intuitive sense to include it in the table that contains the text like "ABC".
Then, add the new measure to the table visual to cause the filter affect.
Does it make sense?
Nathan
Thank you again @natelpeterson!
I've made the new measure in the first table (the one I want to ably the filter on)
But adding the measure as the Slicer value isn't possible, I think I'm missing something 🙂 Is it the relationship?
Current Relationship
When I choose 'A' as the filter value, I only got rows with 'A' only, instead of any row that contain an 'A'.
Current Report After Choosing 'A'
Most appreicated!
There is no need of adding relationship. You are referring the filter column in measure. So can you remove the filter and try?
Try this and add this measure and T1[Values] column to visual without adding relationship to tables.
Filter Found Measure =
var text_to_find = SELECTEDVALUE(T2[Column2])
var text_to_search = MAX(T1[Values])
return FIND(text_to_find,text_to_search,1,BLANK())
Hi @Anonymous The slicer still doesn't take the measure as vlaue 🙂
I was able to filter. Are you adding the measure to visual?
It's working
@Anonymous It is working! Thanks!!
Is there a way that it could work without adding the measure in the table?
It is not possible. But I could suggest you to modify the measure so that directly you can refer measure instead of the column. But there must be atleast a column from the table which you are searching.
Try this formula,
@Anonymous In case of having 2 Slicers for 2 diffirent columns like this:
2 Slicers for two different columns
Is there a way where I can show values that is only have both filters apply as in AND between first values and seconds values? As a hierarchy filter maybe?Thanks!
Thanks a lot @Anonymous !!
It makes lots of sense!
Thank you so much @Anonymous for your time and help!!
Hey @Anonymous Thank you so much for your replay!
Still the Slicer isn't accepting the measure Filter as a value
User | Count |
---|---|
98 | |
76 | |
76 | |
49 | |
27 |