Forum Discussion

smpa01's avatar
smpa01
Community Champion
2 years ago

Adding new table source data in Power BI VSCode

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

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

1 Reply

  • v-weiyan1-msft's avatar
    v-weiyan1-msft
    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.

    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.