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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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