Could you attach your packaged workbook(**.twbx) for us to help you more easily.
My custom SQL is quite large. I'm not sure how I would extract just these two cases into its own workbook.
I saw this in a Youtube Video on KPIs, but I had a hard time synchronizing the dual axis's.
I kept receiving the error that my data didn't match