Forum Discussion

zdice's avatar
zdice
New Member
1 year ago
Solved

ExceptionMashupException.Error: Expression.Error: We cannot convert a value of type Table to Record

Hello,   I am at a 2 week loss trying to resolve this issue.  I have the following queries: # RaasLogin   let dataServiceURL = "https://redacted/services/BIDataService", username = "redact...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi zdice 
    Thank you for reaching out microsoft fabric community forum.
    The "Mashup Exception Expression Error" in Power BI occurs when Power Query is unable to process an expression correctly. Specifically, the error message "We cannot convert a value of type Table to type Record" means that Power Query is expecting a Record, but it received a Table instead.

    • Dataflows Gen 2 enforces stricter privacy levels and credential handling than Power Query in Power BI Desktop.Ensure your data source is set to Organizational or Public in Power BI Service → Settings → Data Source Credentials.
    • Since you’re logging in and obtaining a token, check if the API session expires before the second query (RaasExcute).Log the token response (loginData) in a separate table to verify if the service returns an invalid session.

      If the issue persists, we recommend raising a support ticket for further assistance. To create a support ticket for Fabric and Power BI, please refer to the steps outlined in the following guide:

      How to create a Fabric and Power BI Support Ticket - Power BI | Microsoft Learn


      If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community.

      Thank you.