Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Tengo una vista usando CTE en mi databse SQL.
Estoy intentando importar los datos de la vista en Power BI mediante:
seleccione * de WeekCalendar
OPCION (MAXRECURSION 0) ;
El SQL anterior se ejecuta perfectamente bien en la base de datos, pero, Power BI me está dando error - Sintaxis incorrecta cerca de la palabra clave OPTION.
Por favor, adivse.
Habilite el perfil de consulta y compruebe qué power bi de consulta ha enviado.
https://radacad.com/directquery-connection-in-power-bi-how-does-it-work-limitations-and-advantages
Sí, señor. Es una gran tabla de calendario que estoy creando en la base de datos.
Debe definir la tabla CTE en la instrucción sql en primer lugar antes de consultar la tabla.
Equipo de Apoyo Comunitario _ Jimmy Tao
Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Ya lo había hecho.
Pero cambié algunos de mis scripts SQL y no uso CTE, estoy bien con el problema ahora.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.