Forum Discussion

Dan44's avatar
Dan44
Helper I
2 years ago

TableName[ColumnName] to ColumnName when Inserting Table from Semantic Model in Excel

Hi team,

 

I'm inserting a table of data from my semantic model published in Fabric within Excel, through the following steps:

  • On the Data tab click on Get Data > From Power Platform > From Power BI
  • Select desired semantic model and choose Insert Table

My table looks like this:

 

TableName[ID]TableName[Name]TableName[Value]
1Alice100
2Bob200

 

However I want it to look like this each time it loads:

 

IDNameValue
1Alice100
2Bob200


If you manually change the column headers and the data gets refreshed however, it will revert back to default. Has anyone encountered this and have tips how to just show the original column name? 

 

Thanks

8 Replies

  • Hi Dan44 ,

     

    I don't think you have much options left.If you want to try alternate approaches you can check this -

    You can use run a query against dataset in power automate and you will be able to pull the data with user defined column names in dax.

    You can load data to a dataflow and apply your transformations then your users can access the data from Excel and can import the data.

     

    Thanks,

    Sai Teja 

     

     

    • Dan44's avatar
      Dan44
      Helper I

      GilbertQ I'm aware thats an option thanks but I want to avoid that Analyze in Excel approach. Basically because it's a pivot table, unless the user specifically has access to the semantic model, when they try and manually filter the pivot table it will throw an error. Regardless of if there's permissions meanwhile, it will always throw an error if the Excel report is published to a workspace.

      However it seems the price for pulling the data into the table option is to always display the table name in the headers...

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi all,thank you for your quick reply, I will add more.

    Hi Dan44 ,

    You can insert a row before the column header and enter the column name you want. Then hide the column header.

    After refresh

     


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

     

    • Dan44's avatar
      Dan44
      Helper I

      Anonymous thanks but unfortunately there is an issue when I do that. The new header row will not filter the field properly. When I then try and expand the coverage of the table to include the new row, the following occurs: