Forum Discussion

mike_asplin's avatar
mike_asplin
Icon for Helper V rankHelper V
5 months ago
Solved

OLE DB or OCBC Error in a calculated column

Confused by this as was working yesterday.   I have 2 models that contain client tables. One is a transactional model so we can work out when a client first transacted. The Second is a CRM that has...
  • v-aatheeque's avatar
    v-aatheeque
    5 months ago

    Hi mike_asplin 

    Thanks for the update!

     

    This is expected in composite models (Power BI semantic model). RELATEDTABLE() can break after refresh due to relationship limitations, which leads to the Missing_References / OLE DB error.

     

    TREATAS() works more reliably since it doesn’t depend on relationships, so it’s best to use that approach here. Also, importing directly from another semantic model isn’t supported, you’d need to use the underlying source or Dataflows if required.

     

    Hope this helps!