Forum Discussion

改善's avatar
改善
New Member
5 years ago

Power PIVOT - Expressions that yield variant data-type cannot be used to define calculated columns.

Hi team, hope that someone would be able to help, the issue is related to power automate.

 

When i`m bringing in values from a related table, with the =related formula it works jsut fine

 

When i add an IF clause like =if('Output'[Month to Nr]=value("1").related('Input'[Business])."false") it gives me the error in the title. any idea how i could fix it? i have tried numerous variations.

 

EDIT : i tried the following as well : if('Output'[Month to Nr]=VALUE("1").value(related('Input'[Business]))."false") gives the same error.

 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Where have you seen syntax like this:

     

    value("1").related('Input'[Business])."false"

     

    ???

     

    This certainly is not DAX.