Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello!
I have a two related columns (string type). It can be represented so:
| Col1 | Col2 |
| A | aa |
| A | ab |
| B | ba |
| B | bb |
| B | bc |
| C | ca |
I need to create a visual with dropdown menu, which will contains values from both columns, but only second column's values are selectable, like so:
| A |
| aa |
| ab |
| B |
| ba |
| bb |
| bc |
| C |
| ca |
That is, I select unique Col2 value and other visuals get filtered. I've made this menu with such table mapping:
"table": {
"rows": {
"select": [{"for": {"in": "col1"}},{"for": {"in": "col2"}}]
}
}And now I'm stuck in interaction with other visuals because selections can be apply only for categorical view. Is there a way to use selections in my visual or I need to go to other data mapping? I just want to click one unique value and filter other visuals. Thanks.
P.S.: don't offer me to use visual gallery examples.
Since the HierarchySlicer provides similar functionality, you could download it and try to view its source code.
Sam,
I've tried to use that code. But in Power BI visuals CLI tool there's no objects, used in HierarchySlicer: utility.SelectionManager, ITreeView, IInteractiveBehavior, ISelectionHandler, etc. Apparently that visual was developed by the web tool. And this is another one problem: code for web-tool is different from that is described in Power BI visuals CLI tool. Considering web-tool now is not recommended and not supported, code for it doesn't make sense.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |