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

Salesforce report: Expression.Error: We cannot convert the value null to type List.

Hi, I am trying to load a Salesforce production report, but get this error immediately on load (already in the preview actually). This occurs for most, but not all reports that I have tried.

What are my options?

zsZCcpC

Best regards, Alex

5 REPLIES 5
GRocha
Regular Visitor

Hello,

 

I also have the same proble when connecting a Salesforce report to PBI. The code from advanced editor is the following:

 

let
Source = Salesforce.Reports("https://nameofmycompany.salesforce.com/", [ApiVersion=48]),
#"Filtered Rows" = Table.SelectRows(Source, each ([Label] = "Product features report"))
in
#"Filtered Rows"

 

When clicking on table 

 

GRocha_0-1697903191546.png

 

it shows up the same error:

GRocha_1-1697903217203.png

 

Also i have tried to changed source but the problem starts exactly when importing:

GRocha_0-1697903706189.png

 Any ideas to solve this?

 

Thanks

 

amitchandak
Super User
Super User

@lp_sebba , right click on the table and share the script from the advance editor. check some step with list, that is having problem

Thank you @amitchandak for the quick reply.

 

The script is very short...

let
Source = Salesforce.Reports("https://login.salesforce.com/", [ApiVersion=48]),
#"00O1G000002UMZVUA4" = Source{[Name="00O1G000002UMZVUA4"]}[Data]
in
#"00O1G000002UMZVUA4"

 

lp_sebba_0-1620022175980.png

 

Hi @lp_sebba ,

 

Does your problem have been solved? If it is solved, please mark a reply which is helpful to you.

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

 

Best Regards,
Winniz

Hi @lp_sebba ,

 

Please refer to the documentation https://docs.microsoft.com/en-us/power-query/connectors/salesforcereports   and reconnect.

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.