You have lot of synthetic keys in your datamodel. You have to fix them first. I have updated the script and attaching your qvw back. Just reload the file and see the data model and also your straight table if it is populating correct dates.
I tried with this script also then that time my all values are changing in charts and text object. Previously all are correct that time i am not able to create only straight table with that requirement. But Now i am getting all wrong values