Dynamically showing columns in a table visual

@Sam1 - Thank you for posting your query. I believe this can be done using parameters and calculated fields. Please go through the following posts, where a similar technique has been discussed which can provide you with the required relevant idea to try out the implementation at your end. Hope this helps!