Forum Discussion

dsyouness's avatar
dsyouness
Regular Visitor
8 years ago
Solved

Power BI create column with condition direct query

 

 

I want to create a column in FB_DATA_AD_ONLY to get the VALUE of FB_ACTION_AD where the ACTION_TYPE="something" in power BI. I should keep the function " direct query". Do you think I can do this in Power BI ?

 

  • dsyouness

    Creating calculated column is not supported in DirectQuery mode, you can create the "calculated column" in SQL if the data source is a database, otherwise you may have to switch to Import mode.

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    dsyouness

    Creating calculated column is not supported in DirectQuery mode, you can create the "calculated column" in SQL if the data source is a database, otherwise you may have to switch to Import mode.