Forum Discussion

AAllmon's avatar
AAllmon
New Member
9 years ago
Solved

append data calculated columns

I have tables that contain calculated columns.  I use the calculated columns to create composite keys to create a star schema.  This works great for pulling the data from just one source.  All report...
  • v-micsh-msft's avatar
    9 years ago

    Hi AAllmon,

    Where are the calculated columns created, under Power BI Desktop, or at the data source side?

    If the calculated column is created in Power BI desktop data View, then this column would not be available under Query Editor.

    When doing column append, this calculated column will not generate under the newly copied table, it will need to create again in the new table.

    A workable way should be create "Custom Column " in Query Editor, this should make the calculated column available when doing the appending.

    For custom column, check "Create Custom Columns" part in Common Query tasks in Power BI Desktop.

    For calculated column, see: Calculated columns.

    If I have any misunderstandings, please feel free to let me know.

    Regards