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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
markduffill
Frequent Visitor

SSAS tabular import converts measures to fields

My experience when connecting to a tabular Analysis Services data source is that if I choose import, all measures in the model are converted to fields in Power BI. I have seen a comment in a post on a slightly different topic that seems to confirm this.

 

This means that the cube measures do not behave as measures in Power BI, and I would need to recreate the measures as Power BI measures, which makes the cube measures redundant.

 

I want to be able to use the cube measures, as I can create the cubes programatically using the the Tabular Objects Model API - I do this to provide a simple front end that allows end users to select tables and columns to include in the cube (I would do this in Power BI if I could but currently there is no API to support this).

 

I can create a live connection to the Analysis Services and the cube measures do work correctly in this case, but this results in other constraints, eg I cannot edit the model at all in Power BI and I'm resticted to a single cube database as the data source.

 

What would be great is if Power BI could recognise the cube measures when importing and convert these to Poiwer BI measures. Does anyone know if this is ever likely to be a feature, or if there is some other solution?

2 REPLIES 2
tannera
Advocate II
Advocate II

It seems to set the measures as a "String" data type when importing from SSAS .

 

Solution: to change the data type back, you can use the query editor and change the column's data type to 'numbers'.    

v-qiuyu-msft
Community Support
Community Support

Hi @markduffill,

 

As you know, to get SSAS measures as Power BI desktop measures, live connection is required, but live connection limits connect to another cube database. In your scenario, you can try to use DirectQuery to connect to underlying database, retrieve tables and perform data modeling in desktop instead of SSAS side.

 

Meanwhile, you can post a idea in Power BI Ideas forum.

 

Best Regards,

Qiuyun Yu

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

Helpful resources

Announcements
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