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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
AllanBerces
Post Prodigy
Post Prodigy

Copy/Duplicate Value

Hi good day,

Can anyone help me on how can I achieved my required value in column. On my table I want the value of AREA  to be copied on Non Productive per trade and per week.

AllanBerces_0-1739422316374.png

DESIRED OUTPUT

AllanBerces_1-1739422370076.png

Thank you

1 ACCEPTED SOLUTION

@AllanBerces 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

12 REPLIES 12
rajendraongole1
Super User
Super User

Hi @AllanBerces  - You need to ensure that the AREA column is copied for "Non-productive" rows based on the respective Trade and Week ID.

 

Please find the attached pbix file. with solution.

rajendraongole1_0-1739424671887.png

 

Hope this helps.

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi, @rajendraongole1 thank you, possible to do it on calculated column instead of PQ thank you.

If you don't want to use fill down. I think you still need to create an index column in PQ. Could you pls provide more data? You only have West in the last column?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@AllanBerces 

if you want to create a calculated column, you can try this

 

Column = maxx(FILTER('Table','Table'[Trade]=EARLIER('Table'[Trade])&&'Table'[AREA]<>""),'Table'[AREA])
 
pls see the attachment below
 
 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu thank you very much for the reply, but show some in correct value in other week. possible to add filter by Week ID or WeekNo. Thank you

you can try this

 

Column = maxx(FILTER('Table','Table'[Trade]=EARLIER('Table'[Trade])&&'Table'[weekid]=EARLIER('Table'[weekid])  &&'Table'[AREA]<>""),'Table'[AREA])
 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu show error 

AllanBerces_0-1739431436950.png

Thank you

@AllanBerces 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu @rajendraongole1 @vicky_ thank you very much working perfectly.

Hi @rajendraongole1 thank you for the reply, but i dont see any solution on the attached file.

vicky_
Super User
Super User

You'll need to go down into Power Query and Fill down - https://learn.microsoft.com/en-us/power-query/fill-values-column

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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