while connecting azure sql database objects on PowerBI showing mentioned error.

Anandhswarupp 185 Reputation points
2025-05-13T12:05:16.5333333+00:00

Capture5

while connecting azure sql database objects on PowerBI showing mentioned error.(replacing the column name) asap

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. PratikLad 1,825 Reputation points Microsoft External Staff Moderator
    2025-05-14T16:21:58.5866667+00:00

    Hi Anandhswarupp ,

    The cause of issue is limitation of the product. Please try with following two possible workarounds.

    1. Load the data as-is and use DAX to create a calculated column with the necessary transformation.

    If you are using Import mode or if the dataset is not too large, a practical workaround is to load the data into Power BI as-is and then perform the necessary transformation using DAX. Once the data is imported, you can create a calculated column within Power BI that applies your transformation logic.

    For example, if you need to map or categorize values, you can use functions like SWITCH or IF to build the logic directly in DAX.

    1. Create the mapping as a table on the SQL Server and use joins to do the transformation

    For scenarios where you are using DirectQuery or need better performance with large datasets, it is recommended to move the transformation logic to the SQL Server side. You can create a separate mapping table in the SQL database that holds the transformation rules or reference values.

    Once the table is in place, you can join it to your main data table within Power BI, allowing the SQL Server to handle the transformation before the data reaches Power BI


  2. Anandhswarupp 185 Reputation points
    2025-05-16T12:37:50.96+00:00

    Issue resolved, Thankyou for your effort.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.