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

Join 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.

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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