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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Catalizt
Microsoft Employee
Microsoft Employee

vso identity fields converted to weird text strings

Hi there! 

I'm using the OData connector to pull VSO work item data into Power BI. 

Unfortunately, for some reason the contents of the "Identity" fields (e.g. Assigned to) are being converted to long alphanumeric strings.

Here is how the data appears in VSO

 Assigned to Lizzie.PNG

Here is how that data appears in Power BI.

Assigned to PBI.PNG 

 

I'm sure it's user error. Anyone know what my error might be? 

Thank you! 

 

1 ACCEPTED SOLUTION

Thank you!

Unfortunately I had several fields that all needed this matching so I've created columns using the LOOKUPVALUE function. Works like a charm!

 

Assigned To = LOOKUPVALUE(Users[UserName],Users[UserSK],WorkItems[AssignedToUserSK])

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

I wonder if that is a user unique id and you need to pull in another table to relate the user information to that unique id.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Yes! 

I found the "Users" table and have brought it in. 

I think the next thing to do is create calculated columns in my original table which contain the related value. 

Example: 

Assigned to = (RELATED('Users'[UserName]))

 

Is there a better way? 


@Catalizt wrote:

Yes! 

I found the "Users" table and have brought it in. 

I think the next thing to do is create calculated columns in my original table which contain the related value. 

Example: 

Assigned to = (RELATED('Users'[UserName]))

 

Is there a better way? 


@Catalizt

So I think the assignment table and user tables has a proper many:one relationship.

 

Besides creating a calculated column, you can do nothing. Then in a chart, like table chart, drag some fields from assignment table and also the name from user table, the relationship would find the related username.

 

Or you can create some measure just like 

Measure  =
CALCULATE (
    SUM ( assigment[value] ),
    FILTER ( assigment, RELATED ( user[username] ) = "name1" )
)

 

 

Thank you!

Unfortunately I had several fields that all needed this matching so I've created columns using the LOOKUPVALUE function. Works like a charm!

 

Assigned To = LOOKUPVALUE(Users[UserName],Users[UserSK],WorkItems[AssignedToUserSK])

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.