Forum Discussion

pranesh246's avatar
pranesh246
Frequent Visitor
5 years ago
Solved

Duplicate a table with calculated columns and measures

I have a dataset table with calculated columns and measures. I need to duplicate the same dataset. How do we do that?

 

When I tried, I could just copy the normal columns while calculated columns and measures are not getting duplicated

  • pranesh246 

     

    if you want to copy the whole table with calculated columns then create a calculated table and assign your table like

    New Table = your table

     

    Hope it will help

     

    Regards

    sanalytics

    if it is your solution then please like and accept it as solution

     

  • Hi pranesh246 ,

     

    As sanalytics  said, you only need to create a calculated table: New Table = your table,the formula can copy all table data including calculated columns.

    But you can not copy the measures because measures are not fields of any tables, and there is no need to have two exactly the same measure for the same .pbix file.

     

    Best regards,
    Lionel Chen

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

     

2 Replies

  • pranesh246 

     

    if you want to copy the whole table with calculated columns then create a calculated table and assign your table like

    New Table = your table

     

    Hope it will help

     

    Regards

    sanalytics

    if it is your solution then please like and accept it as solution

     

  • v-lionel-msft's avatar
    v-lionel-msft
    Icon for Community Support rankCommunity Support

    Hi pranesh246 ,

     

    As sanalytics  said, you only need to create a calculated table: New Table = your table,the formula can copy all table data including calculated columns.

    But you can not copy the measures because measures are not fields of any tables, and there is no need to have two exactly the same measure for the same .pbix file.

     

    Best regards,
    Lionel Chen

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