This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Happy New Year All, I have the below code that searches and filters a table column based on the selected value of another table and it works great, but need to develop it with more functionallity.
TEST_Search_SelectValue =
COUNTX (
FILTER ('Key Words', SEARCH ( [Value], SELECTEDVALUE ( 'Carrier Matrix'[OData__2_Contractcomments] ), 1, 0 ) > 0
),
1
)
Currently if there is no selected value, everything is filtered and the Carrier Matrix table visual is empty. Is there a way so that if there is no selected value, no filter is applied and all rows in the "Carrier Matrix" table are displayed. I have tried something like...
Solved! Go to Solution.
Got it working with...
@StuartSmith , Did not get it completely, You can use isfiltered to check if the value is filtered
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Hopefully this explains it better...
Just creating a demo file to upload.
Find below a link to a demo file with explaination. Hope this helps.
Link: https://www.dropbox.com/s/h8eo788xhadhvmx/Test%20Key%20Word%20Search%20Buttons.pbix?dl=0
ok, Got it working where it displays the full table, unless a button is pressed and then displays only the button related data.
Just need to add an "OR" statement so it searchs 2 columns for the results, but stumped on that for the moment.
Got it working with...
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |