How to use tabular model Dax query in Azure Pipeline?

BALAN A STEPHEN J 0 Reputation points
2025-02-10T01:55:07.49+00:00

I have a tabular model named ADM, which contains multiple tables. I need to retrieve data from it using a DAX query, structured as follows:

DAX

EVALUATE 
SUMMARIZECOLUMNS(
    'Fiscal Week Calendar'[Fiscal Year], 
    'Fiscal Week Calendar'[Fiscal Period], 
    'Product'[Category], 
    FILTER(VALUES('Product'[Category]), 
        ('Product'[Category] = "Chilled") || ('Product'[Category] = "Frozen")
    ), 
    "ACT QTY", [ACT QTY], 
    "CMT LAG 1 QTY", [CMT LAG 1 QTY], 
    "ERROR 1 QTY MONTH", [ERROR 1 QTY MONTH]
)

I intend to execute this query within an ADF (Azure Data Factory) pipeline and store the retrieved data into a designated table.

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
474 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,490 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,275 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nandan Hegde 34,336 Reputation points MVP
    2025-02-10T03:36:31.0466667+00:00

    To copy data from AAS via ADF, you would need to create a linked server of AAS with a SQL server.

    Note: for that you would need an account with MFA disabled which is a security concern

    https://datasharkx.wordpress.com/2021/03/16/copy-data-from-ssas-aas-through-azure-data-factory/

    The best way would be for you to use MSFT fabric:

    https://datasharkx.wordpress.com/2023/10/31/copy-data-from-azure-analysis-service-aas-through-microsoft-fabric/


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.