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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Broly
Frequent Visitor

DirectQuery with SSAS

Hi,

I'm trying to connect to SQL Server Analysis using Direct Query. From what I've read online it seems like it's not possible.

But I think it's possible since I'm using a report that does it :

Broly_0-1669024920249.png

 

 

connection settings :

Broly_2-1669025317423.png

 

 

My question is how can I do this please ? 

 

Thanks

 

1 ACCEPTED SOLUTION
PC2790
Community Champion
Community Champion

That's because I changed it explicitly following the process mentioned here

Initially it always shows live and import mode only, you will have to change it using" Make changes to this model" in your desktop.

Please try and see if it works for you.

View solution in original post

5 REPLIES 5
PC2790
Community Champion
Community Champion

Hello @Broly ,

 

When you to attempt to connect to a Azure Analysis Services Database, you get an option to chose Direct Query as shown below:

PC2790_0-1669026191468.png

Did you try that?

 

Broly
Frequent Visitor

when I try to I don't have the option:

Broly_0-1669026434498.png

 

I only have the live connection option : 

Broly_1-1669026480686.png

 

 

PC2790
Community Champion
Community Champion

It is a recent addition and is in preview, can you see if it has been checked 

File --> Options & Settings --> Preview Features as below:

PC2790_0-1669029146392.png

Reference- Using DirectQuery for datasets and Analysis Services (preview) - Power BI | Microsoft Learn

Broly
Frequent Visitor

It is already activated :

Broly_0-1669036793656.png

Shouldn't we be able to choose between live connection or direct query ? why in your screenshot you don't have live connection and in mine direct query ?

 

PC2790
Community Champion
Community Champion

That's because I changed it explicitly following the process mentioned here

Initially it always shows live and import mode only, you will have to change it using" Make changes to this model" in your desktop.

Please try and see if it works for you.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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