Forum Discussion

dkernen2's avatar
dkernen2
Helper II
1 year ago

Side by Side Highlighting - Deneb

I am struggling with a Deneb side-by side visual with a shared Y axis. I have gotten everything to work properly except for the highlighting. I do have cross-filtering and cross-highlighting enabled.  I know that I need the below code for each of the 4 charts, but I have tried multiple times and places and I just haven't reached victory.  I have attached a link to the PBIX. In a perfect world, I would like the tooltip to refer to the metric rather than the metric__highlighted.  Can you please help me? Thank you!

https://kauffman.box.com/s/yohz47zwr161gl3weeu0iwwf22g5e1o2

 

"opacity": {
"condition": {
"test": {
"field": "__selected__",
"equal": "off"
},
"value": 0
},
"value": 1
}
}
},
{
"mark": {
"type": "bar",
"opacity": 0.3,
"tooltip": true
},

 

@deneb 

1 Reply

  • I think the error is in the condition statments, but I don't know why.