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
dk15
Frequent Visitor

Using streaming dataset in conjunction with a database dataset

I'm having issues using a streaming dataset at the same time as a database dataset. I enabled "DirectQuery for PBI datasets and AS" in the "Preview options" menu. I then import data from our database using the odbc connector. On the power bi service I created a streaming dataset. Then I tried to import that dataset using the "power bi dataets" option, but I get this error.

dk15_0-1653416154033.png

 

Any ideas on what is going on and how I can get around this?

3 REPLIES 3
v-cgao-msft
Community Support
Community Support

Hi @dk15 ,

 

I edited my reply on 6/1/2022.

——————————————————————————————

Turn on the Historic data analysis option (off by default)

vcgaomsft_0-1654072459356.png

When Historic data analysis is enabled, the dataset created becomes both a streaming dataset and a push dataset. 

The two are different in data storage, please refer to here for details.

Real-time streaming in Power BI - Power BI | Microsoft Docs

Next connect to the dataset using desktop. Convert connection mode from Live connection to DirectQuery.

vcgaomsft_2-1654073065504.png

Then connect to the database and import the table. Create the model.

vcgaomsft_3-1654073401099.png

Hope this helps.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Again - I cannot confirm this as a solution.  Historic analysis is enabled for my hybrid dataset but converting the connection to Direct Query keeps failing with the above mentioned error message.

lbendlin
Super User
Super User

In my experience you cannot combine a streaming dataset with other datasets.

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