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
Yousufk
Regular Visitor

Creating a new column with selected repeating cells data

Hi

 

I need help trying to figure out how to repeat certain values in a column, repeating for each row. Please see below, an example of what I am looking for. The information is grouped by a ledger account number, followed by several transactions and then subtotaled. Then, the next account number starts and the transactions unders this group are also grouped and sub totalled. 

 

I want to repeat the account number in a new column, such that every transaction (Row) is allocated to the respective account number. I have seen this done before using Data Transform in PowerBi, but just cant remember how the person did it.

 

Please let me know if anyone can help.

 

thanks.

 

Date Debit  Credit GL Account (Column I need) 
0010/000 : Interest Received  0010/000 : Interest Received 
Opening Balance as at 01/03/19  0010/000 : Interest Received 
11/03/19    30 000.000010/000 : Interest Received 
15/03/19    20 000.000010/000 : Interest Received 
Closing Balance as at 31/03/19  0010/000 : Interest Received 
0100/000 : Discount Received  0100/000 : Discount Received 
Opening Balance as at 01/12/19  0100/000 : Discount Received 
31/12/19    20 000.000100/000 : Discount Received 
Closing Balance as at 31/12/19  0100/000 : Discount Received 
0500/000 : Sales  0500/000 : Sales 
Opening Balance as at 01/03/19  0500/000 : Sales 
31/03/19    25 000.000500/000 : Sales 
31/03/19    150 000.00  0500/000 : Sales 
31/03/19    50 000.000500/000 : Sales 
2120/000 : Advertising  2120/000 : Advertising 
Opening Balance as at 01/03/19  2120/000 : Advertising 
01/03/19            500.00  2120/000 : Advertising 
01/03/19            700.00  2120/000 : Advertising 
01/03/19        8 866.00  2120/000 : Advertising 
01/03/19      11 721.33  2120/000 : Advertising 
05/03/19      15 904.33  2120/000 : Advertising 
08/03/19      20 087.33  2120/000 : Advertising 
08/03/19      24 270.33  2120/000 : Advertising 
08/03/19      28 453.33  2120/000 : Advertising 
08/03/19      32 636.33  2120/000 : Advertising 
15/03/19      36 819.33  2120/000 : Advertising 
19/03/19      41 002.33  2120/000 : Advertising 
Closing Balance as at 31/03/19  2120/000 : Advertising 
1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Hi @Yousufk,

 

Check it:

 

Capture.PNG

Select the Custom column and:

 

Capture1.PNG

 

Capture2.PNG



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

Proud to be a Super User!



View solution in original post

2 REPLIES 2
camargos88
Community Champion
Community Champion

Hi @Yousufk,

 

Check it:

 

Capture.PNG

Select the Custom column and:

 

Capture1.PNG

 

Capture2.PNG



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

Proud to be a Super User!



Hi Ricardo

 

Awesome, thanks...this worked...great stuff 🙂

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.