Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table visualization in a Desktop report and want to run code on the table. How do I find the ID for table visualization (e.g. "Table1" or "Table2")?
Solved! Go to Solution.
@PhilipTreacy @selimovd Thanks guys for your help! I have worked around my problem so no longer need to identify the visualization table.
That said, it would nonetheless be interesting to round off this thread to know how one can find visualization IDs!
Regards
Charles
@PhilipTreacy @selimovd Thanks guys for your help! I have worked around my problem so no longer need to identify the visualization table.
That said, it would nonetheless be interesting to round off this thread to know how one can find visualization IDs!
Regards
Charles
Thanks for your help and apologies for a poorly worded query!
I presume each visualization in a report has a unique ID.
I have an ordinary table visualization and I want to apply a single slicer for all the columns. I have seen the solution Single slicer for all columns and want to create an equivalent measure. As far as I can understand I need the ID of the visualization table (i.e. not the ID of the underlying dataset table) to create that measure.
Hi @CJDK
Please @ mention me in your replies or I will not be notified that you've replied. Type @ then sleect my name.
That link doesn't go anywhere! Not sure what it is you are trying to do. Please provide an exampleof what your desired result is and I can try to help.
regards
Phil
Proud to be a Super User!
Technically the vizualisations have IDs. But you can't address them with measure and you don't have to.
You write measures and the desired result will be evaluated based on the filter context (filter, slicers and the values in a row or column in a table).
Maybe describe your desired outcome a little more detailed and what you want to do, then I can try to help you.
Hey @CJDK ,
first select the visualization that you want to know where the data is coming from.
Then hover over the fields in the Visualization pane. After a few seconds the table and name of the original column will appear:
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Hi @CJDK
You don't 'run code' on the table visualization, you write code that affects the data in Tables (or measures) and this is then displayed in visuals, like a table visual.
Maybe if you illustrated what it is you are trying to do I can assist.
regards
Phil
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!