Hi @dkernen.
(I didn’t have any issues with your original link; Box asked me to download the file first and it then opened without issue … not sure what the issue was …)
I’m not sure what the issue was with implementing highlighting in your existing Deneb/Vega-Lite code, but after a couple of short and failed attempts to modify it, I created a new visual from scratch that was much simpler and everything worked fine.
As a first point, the recommended method to implement highlighting is with two overlapping marks; the background mark with reduced opacity and the foreground mark with conditional opacity (if __selected = on then 1 else 0). See the Deneb website for more details.
Regardless, here’s what I came up with (I didn’t spend any time matching your formatting … just created a working visual).
A few notes:
- you don’t need to use aggregates; Power BI has already aggregated the data
- you don’t need to use the “resolve” block; Vega-Lite resolves the same Y axis for all by default
- the original visual only had 1 bar mark per section (e.g., Requests), where 2 marks are recommended for highlighting
Hope it helps.
Greg
eDNA Forum - Deneb Highlighting Issues - V1.pbix (3.0 MB)