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
CHealy
Frequent Visitor

Making a column based of repeating data for a group of rows baes on the response of one of the rows

I am trying to make one column(date by group) all the same date based on a grouping. This is a survey based data set and I would like to a column where the date is the response date for the specific Grouped Column (Grouped column is an individual survey). There are to many questions to be able to pivot and unpivot the data. I am also trying to avoid making an additional table andlinking them based on the grouped column. Any Help would be amazing 

 

CHealy_0-1720640617284.png

 

 

1 ACCEPTED SOLUTION
v-kaiyue-msft
Community Support
Community Support

Hi @CHealy ,

 

1. In the power query editor, copy an original table.

vkaiyuemsft_0-1720665781841.png

 

2. Group and get the response date for each group.

vkaiyuemsft_1-1720665805553.png

 

3. perform a merge query on the two tables.

vkaiyuemsft_2-1720665814547.png

 

4. expand table2.

vkaiyuemsft_3-1720665823296.png

 

vkaiyuemsft_4-1720665840258.png

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-kaiyue-msft
Community Support
Community Support

Hi @CHealy ,

 

1. In the power query editor, copy an original table.

vkaiyuemsft_0-1720665781841.png

 

2. Group and get the response date for each group.

vkaiyuemsft_1-1720665805553.png

 

3. perform a merge query on the two tables.

vkaiyuemsft_2-1720665814547.png

 

4. expand table2.

vkaiyuemsft_3-1720665823296.png

 

vkaiyuemsft_4-1720665840258.png

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors