Forum Discussion
Search box in page level for buttons
Hello
is there any way to create search box where the user input and the buttons in the page sorted to showe the first button is what the user searched for ?
Thank you
4 Replies
- AnonymousNot applicable
Hi maryamab ,
As per your description, in power bi we are not able to sort button or table data based on the text entered. But we can create a measure and then sort the measure in the visual object. Here are my steps for implementation:
Sample dataGet more visual and choose Text search slicer
Create a new tableTable 2 = VALUES('Table'[Name])Create a measure
Measure = IF( SELECTEDVALUE('Table 2'[Name]) = SELECTEDVALUE('Table'[Name]), 1, 0 )Use Table2[Nmae] as value of the slicer
Final output
Best regards,
Albert HeIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- maryamabFrequent Visitor
Thank you for your help
What do you mean by visual objects ?
and where can i use the measure ?- maryamabFrequent Visitor
I will create a table with groups of objects names
and i will use it to sort ..
Note :
i have almost 20 groups ( each one contains button and text )
i will create the table for groups name and use your approach