Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
I am re-creating a salesforce model in PowerBI and have a question in regards to joining the OPPORTUNITY object with the USER object. What is the best way to convert all of the user ID column values from the opportunity object to their actual name (0QL0g000000CTEWGA4 to Bob Smith)? There are roughly 50 individual columns (executive, manager, owner, ect) that I will need to convert this ID to their true name. I've used the Merge function (Left Outer Join) and the Expanded function to bring in the true name, but will i need to do this for all 50 columns? There seems like a better way to do this than continually merging and expanding each column. Let me know if there is a better way of doing this!
I don't know anything about the SalesForce models, but you could try this:
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingHey thanks for your help! I was able to unpivot all of these columns, merge the name from the USER object, and expand the name. The only problem with this is now I need to pivot each of these columns back out so each field is a separate column. The other problem is my fact (SALES) is now repeated rows, so i will need to remove duplicate rows somehow. Any ideas?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
66 | |
61 | |
46 | |
45 |