Forum

Convert a huge text...
 
Notifications
Clear all

Convert a huge text file of Sales Using Power Query as Per Sample Attached

8 Posts
2 Users
0 Reactions
60 Views
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Hi Everyone,

I am enclosing herewith a text file which I would like to convert as a Final Output as per the sample attached using Power Query.

I would really appreciate for any help in this matter

Thanks in advance.

Rashid

 
Posted : 28/10/2022 5:05 am
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

Hi Rashid,

Please try attaching the file(s) again. Don't forget to press "Start upload" before you submit your reply.

Riny

 
Posted : 28/10/2022 6:30 am
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Dear Riny

I did.

Please see it if available now.

Thanks.

 
Posted : 28/10/2022 8:52 am
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

Thanks, but I don't really see how the txt file relates to the desired output.

 
Posted : 28/10/2022 9:44 am
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Dear Riny,

Extremely sorry.

I attached a wrong sample txt file. Please find herewith the correct file,

The output file is a sample of the output required where you may find some companies missing but you will get the overall idea of the output required.

As this is done by manual copy and pasting so chances are there some records might be missing.

Thanks for your time.

 
Posted : 28/10/2022 1:59 pm
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

The attached PQ solution isn't going to win a prize for being the most beautiful piece of art, but it seems to work. The last two columns with amounts agree to the Output file you sent earlier. The first, however, does not. Several larger amounts are missing the first digit(s).

Please check it carefully.

 
Posted : 29/10/2022 3:49 am
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Dear Riny,

Thanks for your time and help.

I will check and come back to you.

 
Posted : 29/10/2022 9:34 am
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Dear Riny,

Sorry for the late response. I was away from work just joined back and tested your solution.

Works great.

Thanks a lot for all your time and help.

 
Posted : 30/11/2022 1:47 pm
Share: