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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
smpa01
Super User
Super User

Adding new table source data in Power BI VSCode

I currently have this with with `EDIT TMDL` in powerbi-vscode 

smpa01_0-1710971260158.png

Is it possible to add another table 'fact' in tables as fact.tmdl where the pq is

let
    Source = Sql.Database("server", "db", [Query="
    SELECT TOP 1000 *
    FROM tbl
    "])
in
    Source

Cause once I publish and validate the TMDL, the pbi is not downloadable. Is there a way to do it from here?

@gbrueckl

 

Thank you in advance

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
1 REPLY 1
v-weiyan1-msft
Community Support
Community Support

Hi @smpa01 ,

 

Based on the information you provided, it appears that you are trying to add new tables to your Power BI model using the Table Model Definition Language (TMDL) in PowerBI-VSCode .
After reviewing the version release notes for the VSCode extension, I could not find specific information about the functionality you are looking for.

vweiyan1msft_0-1711011071617.png

For a more accurate answer, it is recommended that you contact the developer of the extension.
In addition, you can refer to the following article about TMDL:

Tabular Model Definition Language (TMDL) | Microsoft Learn


Best Regards,
Yulia Yan


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.