how do I create a dimension in an assembly that i can modifyu in the design table?
Welcome to SolidWorks forums Mike.
Check the post and example files by Mauricio on the below listed posts:
You might also find this post helpful for your future reference
Retrieving data ...