Trying to call dynamic content as a shortcode attribute

I think you are having syntax errors in the shortcode like missing single quotes.Please check the code properly.