Image may be NSFW.
Clik here to view.
Hi, I hope you can help me.
I am getting this js error and I can't figure out why it is happening. I have stepped through my javascript and can confirm that the embed is succesful without showing any errors, My custom controls for pages and date filtering load and apply the inital date filter, this is all fine, infact i can step through my entire .js file without seeing the error but as soon as I resume execution the errors occur.
Now I assume this is being caused by .js files that exist from the power bi js library but i could be wrong, I'm just wondering whether anyone else has been experiencing this?
EDIT
I have narrowed it down to the custom visual: "Card with States by OKViz". When I remove this visual the javascript errors cease. It's a shame as the colour changing card was in the spec i worked off. Any tricks to circumvent it would be great so i can keep it in.
I'm wondering whether it is possible to target a card visual externally through javascript, read the value and change that card's background colour based on the value. I might give this a go if I get the time and report back.