Forum Discussion

joyhackett's avatar
joyhackett
Helper II
4 years ago
Solved

How to Format a Text String as SQL Query

Hi, I have loaded a table of SQL definitions.   Sample record: schema_name view_name view_definition powerbi view_fact_program_registration SELECT p.club_key, p.location_key, p.service_k...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi joyhackett,

    AFAIK, current power bi does not support formatting T-SQL strings.
    In my opinion, I'd like to suggest your enter 'query editor' to add a custom column to invoke the T-SQL string formatting API that processes and store a formatted string into this custom column.

    Regards,

    Xiaoxin Sheng