Forum Discussion
Exact match text filter
- 2 years ago
What I ended up doing is change the source code of the Text Filter made by Microsoft. Somewhere in there, you can change the operator from "Contains" to "Is" and recompile the visual.
- 1 year ago
Sure!
First I downloaded the widget's source code from their repo here.
Then I installed pbiviz by following this tutorial.
Finally, I modified the source code. Here is a summary of the changes I made :
- in src/visuals.ts I changed the performSearch function to use the operator "Is" instead of "Contains"
- in pbiviz.json, I changed the name, display name and version
I then recompiled it using the pbiviz doc. It's been working quite well.
What I ended up doing is change the source code of the Text Filter made by Microsoft. Somewhere in there, you can change the operator from "Contains" to "Is" and recompile the visual.
- Anonymous1 year agoNot applicable
could you please explain in details how to do this? I need the same Is.
Thank you!
- BenjaminFernet1 year agoRegular Visitor
Sure!
First I downloaded the widget's source code from their repo here.
Then I installed pbiviz by following this tutorial.
Finally, I modified the source code. Here is a summary of the changes I made :
- in src/visuals.ts I changed the performSearch function to use the operator "Is" instead of "Contains"
- in pbiviz.json, I changed the name, display name and version
I then recompiled it using the pbiviz doc. It's been working quite well.