With current information, it is hard to say to use which method. Both method is supported in SSRS dataset.
Personally, I tend to use temp table for performance , since your dataset is relatively big.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.