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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Twychopath
Frequent Visitor

Value cannot be null. Parameter name: Data Source

Hi everyone,

 

I'm getting the following error, when I try to access a PowerBI-Dataset from a datahub:

 

The value cannot be NULL.
Parameter name: DataSource

 

I don't know why. PowerBI and the data gateway are up to date.

Is there a solution for this?

 

Thanks for your help.

1 ACCEPTED SOLUTION
Twychopath
Frequent Visitor

I found the reason:

 

  • Using DirectQuery on datasets from “My workspace” isn't currently supported.

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-...

 

View solution in original post

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

Can Microsoft resolve this issue: Upgrade power bi desktop client to Version: 2.121.762.0 64-bit (September 2023).

 

Unexpected error:

Value cannot be null.
Parameter name: source

True

 

Unexpected error: Value cannot be null.
Parameter name: source
Details:
Microsoft.Mashup.Evaluator.Interface.ErrorException: Value cannot be null.
Parameter name: source ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: Value cannot be null.
Parameter name: source ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: Value cannot be null.
Parameter name: source ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: Value cannot be null.
Parameter name: source ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: Value cannot be null.
Parameter name: source ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)

 

Versions below work connecting to data source 

Version 2.91.701.0 (March 2021

Version 2.99.782.0 (November 2021)

 

Anonymous
Not applicable

Any resolution for this one? 
I am not using my workspace. 

Source is azure databrics import and live connetion data model

JP22
Regular Visitor

HI @Twychopath ,

 

I am having same issue, 

 

Error Message:
Value cannot be null.
Parameter name: Data Source 

 

What do we need to do in order to resolve this ?

 

oscargushiken
Frequent Visitor

Wonderful find!  I had the same issue.

Twychopath
Frequent Visitor

I found the reason:

 

  • Using DirectQuery on datasets from “My workspace” isn't currently supported.

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-...

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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