Ways to dynamically add a new column into Azure Analysis services

Dee18 31 Reputation points
2020-12-08T16:01:21.227+00:00

Hi All,

Background, Power BI > Live connected to Azure Analysis Services > connected to Azure SQL Db

I have instances where I need to introduce a new column after pivoting a key Attribute Value table i.e

46248-image.png

Next time around a new attribute value is added as below and a new column needs to be available i.e.

46280-image.png

in Visual studio, I can edit the table, and within Power Query, refresh preview, and the new column shows up.

Problem is, this is manual and we have many of the same models that will change in this way but with different Key Attribute Values at different intervals. (there are limitations to prevent too many columns being produced and the data is generally small volumes)

Is there a way to programmatically "refresh preview" that will basically update the table schema so that the new column shows up?

Does anyone have a simple way? Or if there is a more advanced way using AMO / TOM / TMSL please can you point me in the right direction. (I'm a newbie to this so details are highly appreciated!)

Thanks!

D

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
439 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,280 questions
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-12-14T15:43:03.38+00:00

    Hi @Dee18 ,

    Thanks for your patience.

    I got confirmation from Product team that this is not possible programmatically today to dynamically generate columns in Azure Analysis Services model refresh. I would recommend you to submit an idea in feedback forum which will be closely monitored by Azure Analysis Services team and implemented in future releases.

    Apologies for the inconvenience.


0 additional answers

Sort by: Most helpful