Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Creating extra measures in Power BI with a live connection to Azure Analysis Service

Hi,

 

I am fairly new to analysis services and MS Power BI. We are currently running some experiments on using Azure Analysis Service tabular model, combined with a live connection to MS Power BI desktop for reporting. We defined the tabular model and some DAX measures to use in the AAS in MS Visual Basic.

I was wondering what happens when a Power BI user creates extra DAX measures in PowerBI desktop app, so not in the actual tabular model definition. I tested to see if it is possible and it is in the Power BI desktop version of February 2019. How and where is the measure then calculated? Is it propagated back for calculation in the tabular model in AAS? Or is it somehow only kept in-memory of the PowerBI tenant? What is the advised approach for this?

Please let me know if my question is unclear.

Thanks in advance,

Arne

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

It is possible to create any measures when connecting to SSAS with Power BI Desktop (not Service).

Tutorial: Create your own measures in Power BI Desktop

 

But it would meet some limitations

Calculated measures when live connected to MDX cubes

"Using Analysis Services Tabular data in Power BI Desktop"

When connecting live, no data from the Tabular model is imported into Power BI Desktop.

Each time you interact with a visualization, Power BI Desktop queries the Tabular model and calculates the results you see.

In live connection,the measures you created aren't kept in-memory of the PowerBI tenant.

(using "Import" should be kept in-memory of the PowerBI)

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

It is possible to create any measures when connecting to SSAS with Power BI Desktop (not Service).

Tutorial: Create your own measures in Power BI Desktop

 

But it would meet some limitations

Calculated measures when live connected to MDX cubes

"Using Analysis Services Tabular data in Power BI Desktop"

When connecting live, no data from the Tabular model is imported into Power BI Desktop.

Each time you interact with a visualization, Power BI Desktop queries the Tabular model and calculates the results you see.

In live connection,the measures you created aren't kept in-memory of the PowerBI tenant.

(using "Import" should be kept in-memory of the PowerBI)

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi Maggie,

 

Thanks for the response and the link to useful pages.

My final question is, whether there is a performance impact of using report level measures in PowerBI desktop versus creating all necessary measures in the tabular model in the analysis service?

 

Thanks,

Arne

Hi @Anonymous 

When connecting live, since no data from the Tabular model is imported into Power BI Desktop,

adding any report level measure in any visual on the report or interact with a visualization like filtering, refreshing,

Power BI Desktop send queries to the SSAS Tabular model and calculates the results you see.

So using report level measure in Power BI may lead a slow performance.

 

As tested, when you create measures in SSAS Tabular model, then live connect to it with Power BI,

these measures in Power BI can work successfully as in SSAS.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors