Bringing in Fields with SFDC "lookup" types

I am having issues trying to build a chart that has Account Executive names plotted in the X axis but it seems like the field type is a LOOKUP which means that instead of seeing their names in the x axis, I see ID strings 00500000234234. What is the best practice to go about this so I can get their names and not their ID?
Best Answers
-
@jfestejo0614, since it's a lookup field in Salesforce, you should be able to bring their names in by selecting something like `Owner.Name` in your dataset.
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as "Accepted Solution".2 -
When pulling a custom lookup field (often used for users to force an input selection) that is returning a UID, you'll want to try out the __r suffix. Check out this -
https://developer.salesforce.com/forums/?id=906F00000008llXIAQ
So if Account.country is a custom lookup, you'll need to put the field into your query as Account.country__r.Name to get the translated result.
0
Answers
-
Is the file that the Account Executive names are coming from in the lookup also included in your dataflow to Domo?
"When I have money, I buy books. When I have no money, I buy food." - Erasmus of Rotterdam0 -
@jfestejo0614, since it's a lookup field in Salesforce, you should be able to bring their names in by selecting something like `Owner.Name` in your dataset.
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as "Accepted Solution".2 -
@jfestejo0614, Did the above suggestion help? Please let us know. Thanks!
0 -
I have the same issue. I have an Account.country field, also Lookup type, and it is giving me data like a0fa00000077btLAAQ. How can I fix it?
0 -
When pulling a custom lookup field (often used for users to force an input selection) that is returning a UID, you'll want to try out the __r suffix. Check out this -
https://developer.salesforce.com/forums/?id=906F00000008llXIAQ
So if Account.country is a custom lookup, you'll need to put the field into your query as Account.country__r.Name to get the translated result.
0
Categories
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.3K Connect
- 1.1K Connectors
- 273 Workbench
- Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 524 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 433 Beast Mode
- 22 Variables
- 510 Automate
- 114 Apps
- 388 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 331 Distribute
- 76 Domo Everywhere
- 255 Scheduled Reports
- 65 Manage
- 65 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 67 Community Announcements
- 4.8K Archive