Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
CJDK
Helper II
Helper II

How to find Power BI visualization ID

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")?

1 ACCEPTED SOLUTION
CJDK
Helper II
Helper II

@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

View solution in original post

6 REPLIES 6
CJDK
Helper II
Helper II

@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

CJDK
Helper II
Helper II

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.

CJDK_0-1615813827947.png

 

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



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


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.

selimovd
Super User
Super User

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:

5.png

 

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

PhilipTreacy
Super User
Super User

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



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors