Forum Discussion

PaulTim's avatar
PaulTim
Frequent Visitor
3 years ago

Replace Colume Name with Colume Comment

Hi all,

 

I am creating a PowerBI report based on several tables/views on Snowflake.

 

The source data has technical field names but also the functional name as comment included. In our Report we want to show this comment and not rename the colume manually on the Querry Editor.

 

Example:

Definition of the source colume:

BELNR VARCHAR(10) NOT NULL COMMENT 'Posting number',

On PBI I want to show the Colume as Posting number not BELNR.

 

Is there any chance we can replace the colume name automatically?

Best regards,
Paul

4 Replies

  • PaulTim You can do it manually without changing it in original table like below

    Double click on and rename simply

     

     

    • PaulTim's avatar
      PaulTim
      Frequent Visitor

      Hi Karthik12
      yep that would work but I would need to do it manually for each and every dimension and we will have hundrets of those. So I was looking for some automatization. 

      • MAwwad's avatar
        MAwwad
        Solution Sage

        Can you please provide an example of the value inside the Column ?