Why are you appending pyID? It sounds like your trying to jump classes? Would really need more details on your configuration, what object your Insight/ListView is on, what object the case is on?
My gut instinct is:
- Your underlying class is different to the class of the case? In which case, you should be using an association rule to open that associated object. See Some insights into Insights (and Explore Data)
- You are using a non-qeuryable data page, so you need to do a little more data propagation. See Display columns as links in Constellation tables with non-queryable data pages
- You are running a scenario where the response data transform is not actually run. See Trouble using data page as a source for an insight - #3 by Shirisha_Boinapalli
Overall, I would say using an association to get to the class and open the case is the best way to go. See my post on another thread Joined class work object is not opening on click of joined class ID - #5 by MarcCheong showing this working.