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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Syndicate_Admin
Administrator
Administrator

Compatibilidad con el bloque de scripts SQL de Databricks en Power BI

Hola a todos

Estoy intentando conectar un script SQL de Databricks mediante el conector de Azure Databricks. A continuación se muestra un ejemplo del tipo de script que estoy ejecutando. Funciona bien en el editor SQL de Databricks, pero no parece funcionar en Power BI.

BEGIN

    DECLARE param INT DEFAULT 3;
    DECLARE stmt STRING;


    SET stmt = "SELECT * from table_A where col_1 = " || param;


    EXECUTE IMMEDIATE stmt;

END

El scripting SQL de Databricks es una nueva característica introducida en Databricks según el siguiente blog: Introducción a la compatibilidad con scripting SQL en Databricks, parte 1 | Blog de Databricks.

Estoy intentando ver si este tipo de scripting SQL es compatible con Power BI que se conecta al punto de conexión SQL de Databricks.

0 REPLIES 0

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors