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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
MathieuF
Helper III
Helper III

Repeat a value based on another column

Good morning,
I change my wish to try to find a solution.
In my data, each task_id is associated with a user_name but it is not repeated over the entire column for the same task_id.
How to repeat in another column the user_name associated with a task_id?

Thank you very much.

 

https://drive.google.com/file/d/1j-P7F-Prw_5y-3QmV8WzE8GdApm1X5NX/view?usp=drive_link

 

MathieuF_0-1700575738351.png

 

2 REPLIES 2
DOLEARY85
Super User
Super User

Hi,

 

you can potentially do this by using the group by option:

 

1. Select Task_Id as the group

2. Add a username column under aggregation and select Max as the operation of the username colum

3. Add a second aggegation as All Rows

 

 

DOLEARY85_0-1700584291406.png

 

Click okay and expand the all rows column - you should have a new username column (i called it username1) with a completed list.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Hello @DOLEARY85 

Thank you very much for your help.
The file I made available is a small file. My real file weighs several GB and the data is on Google big query.
The manipulation you gave me seems to take a long time.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors