Forum Discussion

KeithCoxAuto's avatar
KeithCoxAuto
Helper I
5 years ago
Solved

Column cannot be pushed to the remote data source and cannot be used in this scenario

I'm just embracing composite data sets in a new role - there are 2 published data sets, one internal sales system data and one Dynamics CRM data.  Within the internal sales data, I need to multiply a...
  • v-kkf-msft's avatar
    5 years ago

    Hi KeithCoxAuto ,

     

    Are you using DirectQuery for Power BI dataset and Import for another datasource? Based on my understanding, the RELATED function cannot be used to fetch a column across a limited relationship.

     

    Maybe you can try the measure:

    Measure = 
    IF(
        SELECTEDVALUE('Item'[TaxQualified]) = TRUE,
        SUM(Sale[PaymentValue]) * SELECTEDVALUE('Item'[taxrate Value]),
        SUM(Sale[PaymentValue])
    )

     

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.