Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Custom Column Creation - Performance question

Hi all,

 

Does it make any difference if I add a Custom Column in the Query Editor versus by using a DAX calculation in the Desktop Report view please? I am thinking in terms of performance, as I need to get my report as efficient as I can get. Any and all help will be greatly appreciated. Thank you.

 

e.g.

 

Custom Column in Query editor

 

#"Added Custom" = Table.AddColumn(#"Changed Type", "Pipe CV €M", each [#"CV (converted).amount"]/1000000),

 

In Report View

 

Pipe CV €M = '1 NEU Pipeline'[CV (converted).amount]/1000000

 

Andrew

  • Hi Anonymous

     

    my suggestion is that you'd add this custom column with Power Query (or better yet from a view in the Data Source if you're importing from a database).

     

    Also note that to create DAX measures you do not need to add this custom column as you can divide the amount by 10,000 directly in your measures

  • Hi Anonymous

     

    I would suggest you create custom column in Query editor or create a measure in date view. Below is the article about performence for your reference. You may choose the best way according to your data model.

    Power BI performance best practices

     

    Regards,

    Cherie

2 Replies

  • Hi Anonymous

     

    my suggestion is that you'd add this custom column with Power Query (or better yet from a view in the Data Source if you're importing from a database).

     

    Also note that to create DAX measures you do not need to add this custom column as you can divide the amount by 10,000 directly in your measures

  • v-cherch-msft's avatar
    v-cherch-msft
    Microsoft Employee

    Hi Anonymous

     

    I would suggest you create custom column in Query editor or create a measure in date view. Below is the article about performence for your reference. You may choose the best way according to your data model.

    Power BI performance best practices

     

    Regards,

    Cherie