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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Js112233
Helper I
Helper I

Tying values to a unique identifier

Hello! 

 

I have attached a picture showing the scenario I face. I export a .csv sheet that has 4 columns. One has a generic name that is repeated every time a new identifier appears in column 2. Two has a unique ID, the third column has the employee id, and the fourth has the hours worked.

The issue is that the unique identifier only shows in one row therefore only times to the first entry in column three and 4. All other employees and their subsequent hours do not have a unique identifier and can not be joined properly to the other table I desire to join to.

Is there a way to solve this when I edit my query? It will be a monthly report so I am hoping there is a way!

Thank you for any feed back !

 

DescriptionIDEmployeeHours
Repair_details15625.0sEmployee 10.5
  Employee 21
  Employee 31
Repair_details15768.0tEmployee 50.5
  Employee 30.5
  Employee 20.5
Repair_details157869.0hEmployee 51.5
  Employee 21
  Employee 11.5
2 ACCEPTED SOLUTIONS
Sean
Community Champion
Community Champion

@Js112233  Try this Fill Down feature in the Query Editor

 

Right-Click each Column that has values missing => Fill => Down

 

PQ - Fill Down.png

 

And the result...

 

PQ - Fill Down2.png

 

Hope this helps!

 

Haha @Anonymous  Smiley Happy

From the link in your post today! Smiley Happy Thanks!

 

EDIT: Refresh works too!

 

PQ - Fill Down3.png

View solution in original post

Sean
Community Champion
Community Champion

@Js112233

 

I first created a sample Excel file with the data you had posted.

 

Then I just added 5 additional rows to the sample data as in the picture - saved and closed Excel as is in the Picture below

 

PQ - Fill Down4.png

 

Then in PBI hit Refresh and this is the updated result!

 

PQ - Fill Down3.png

 

Good Luck! Smiley Happy

View solution in original post

5 REPLIES 5
Sean
Community Champion
Community Champion

@Js112233  Try this Fill Down feature in the Query Editor

 

Right-Click each Column that has values missing => Fill => Down

 

PQ - Fill Down.png

 

And the result...

 

PQ - Fill Down2.png

 

Hope this helps!

 

Haha @Anonymous  Smiley Happy

From the link in your post today! Smiley Happy Thanks!

 

EDIT: Refresh works too!

 

PQ - Fill Down3.png

When you say refresh works too, does that mean in a month from now when I replace the CSV the old ones will fill in correctly and the newly added data (that will have new IDs) will just need to be filled in?

Sean
Community Champion
Community Champion

@Js112233

 

I first created a sample Excel file with the data you had posted.

 

Then I just added 5 additional rows to the sample data as in the picture - saved and closed Excel as is in the Picture below

 

PQ - Fill Down4.png

 

Then in PBI hit Refresh and this is the updated result!

 

PQ - Fill Down3.png

 

Good Luck! Smiley Happy

This is great! Thank you for taking the time!

Hey! Thank you! This is so incredibly easy I feel sheepish. Thought about it too hard I guess. Thank you!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.