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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
While I am aware that PowerBI doesn't have the capability to use text parameters, is there anyway I can accomplish the following?:
I have a bar graph of companies ranked by revenue for a given date range. There is also a text input that allows the user to input the name of one of the companies. When the user does this and enters a name of a company, that company's entry in the bar graph should change colors in order to "highlight" where that company stands in comparison to the other companies in terms of revenue.
Is there any way to do this in PowerBI?
Thanks
Solved! Go to Solution.
Hi @Ad550 ,
Believe that the company name you are refering is based on values that you have has part of your axis correct?
What you can do is to create a disconnected table with the name of the tables, then you can use a normal slicer~, or the find text custom visual . Then you can add a measure similar to this:
Selected company = IF(ISFILTERED(Companies[Company]) && SELECTEDVALUE('Table'[Company]) in DISTINCT(Companies[Company]), "Green")
You can then change the Green by other colour or hex code ("#FFFFFF") then use this on the condittional formatting.
If you use the text finder you are abble to get more flexibility since it search part of text:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Ad550 ,
Believe that the company name you are refering is based on values that you have has part of your axis correct?
What you can do is to create a disconnected table with the name of the tables, then you can use a normal slicer~, or the find text custom visual . Then you can add a measure similar to this:
Selected company = IF(ISFILTERED(Companies[Company]) && SELECTEDVALUE('Table'[Company]) in DISTINCT(Companies[Company]), "Green")
You can then change the Green by other colour or hex code ("#FFFFFF") then use this on the condittional formatting.
If you use the text finder you are abble to get more flexibility since it search part of text:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck 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 |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |