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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
priyankjain4u
New Member

Salesforce Objects Agent Work and User Presences not available for query

There are 2 Omni objects in Salesforce Agent Work and User Presences, I can't find any of these 2 objects in Power BI. Both the objects are part of Salesforce Omni Channel solution. 

 

 

4 REPLIES 4
PhilipHagenfeld
Regular Visitor

Hi,

 

I managed to find a work around for this issue, that doesn't limit the query to 2000 rows.

 

In PBI go to Get data -> Salesforce Objects

 

Pick any object and choose Edit when you load it which will take you straight to the Query Editor.

 

Press Advanced Editor under the Home tab.

 

Replace the text with:

 

For Agent Work

 

let
Source = Salesforce.Data("https://login.salesforce.com/", [CreateNavigationProperties=true, ApiVersion=43]),
AgentWork = Source{[Name="AgentWork"]}[Data]
in
AgentWork 

 

For User Presence

 

let
Source = Salesforce.Data("https://login.salesforce.com/", [CreateNavigationProperties=true, ApiVersion=43]),
UserServicePresence = Source{[Name="UserServicePresence"]}[Data]
in
UserServicePresence

 

And press Ok.

 

This should load the objects in to PBI. You will only have the SFDC ID's for Service Channels and so on, but you can replace the values with whatever you choose.

 

Had struggles with this since May and this finally worked for me, hope it does for you to!

pablobarra
Advocate I
Advocate I

Hi @priyankjain4u

 

I think the problem is related to the API version, Power BI connector is using 29 and, for example, AgentWork is 32 or later. 

 

 

A workaround can work, extract with dataloader, sync to another db, copy records to custom object, etc, but we can not connect to the object with current connector.

 

Pablo

Anonymous
Not applicable

@priyankjain4u,

What connector do you use to connect to the data source in Power BI, Salesforce object or Salesforce report?

Regards,
Lydia

priyankjain4u
New Member

There are 2 Salesforce Objects I am unable to find in Power BI, Agent Work and User Presences. Both the objects are Salesforce Omni Solutions. I have already checked Objects/Tabs Rename Label setting and we are using the same name. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors