Jump to content

Recommended Posts

Posted

Hello,

I am trying to merge information into my document on Affinity Publisher from two excel files. The first one always works well and I can insert the fields. When I add a second data source it shows on my data merge panel with the fields but when I try populating from that source nothing happens. I tried both using a second sheet on the same file as well as using two separate excel files with no result on either. I also made sure that my field names do not repeat on both sources.

Any ideas?

Thanks,

Daniel

Posted

Hi @Daniel Bernardes and welcome to the forums.

As far as I know, you can only use one data source at a time. The fact that you can use several data sources is intended for a quick change. For example, if you want to create a catalogue for lamps and then one for garden furniture and use the same layout for both catalogues.

MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD 
AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB  | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351)

Windows 11 Pro on VMWare Virtual Machine (on Mac)
Affinity Suite V 2.6.3 & Beta 2.6 (latest)
Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF

No backup, no pity.

Posted
12 minutes ago, Komatös said:

Hi @Daniel Bernardes and welcome to the forums.

As far as I know, you can only use one data source at a time. The fact that you can use several data sources is intended for a quick change. For example, if you want to create a catalogue for lamps and then one for garden furniture and use the same layout for both catalogues.

Thank you Komatös, I was afraid of that. I guess the only workaround will be to merge the tables, it will create a lot of duplicated data but will have to do for now. 

Posted

@Daniel Bernardes 

Do you know Notepad++?  This is a text editor; there is a plug-in for it called Compare. With it, two text-based (database) files can be compared and duplicates can be recognised and eliminated.

If you on Windows you can download here: https://notepad-plus-plus.org

MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD 
AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB  | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351)

Windows 11 Pro on VMWare Virtual Machine (on Mac)
Affinity Suite V 2.6.3 & Beta 2.6 (latest)
Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF

No backup, no pity.

Posted
45 minutes ago, Komatös said:

@Daniel Bernardes 

Do you know Notepad++?  This is a text editor; there is a plug-in for it called Compare. With it, two text-based (database) files can be compared and duplicates can be recognised and eliminated.

If you on Windows you can download here: https://notepad-plus-plus.org

Yes Notepad++ is a great tool. But when merging the two tables, I'll have to duplicate data on purpose to make it work. This is my current setup:

Table 1 (Contact)
Name
Postition
Contact details (phone, email, etc)
Expertise
Years of exp
Image address
(...)

Table 2 (Service)
Service name
Service description
Image address

To merge them together, either each line in the Contact table has to incorporate all items in the Service table or the other way around.

 

Do you see the issue? I'm not a fan of having data repeated on a database as the chances of mismatch are big. I'll try using formulas to replicate but I haven't tested how Affinity handles calculated fields.

Posted

When I am faced with this I just make a new spreadsheet and copy paste the columns I want.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted
On 7/1/2022 at 7:34 AM, Old Bruce said:

When I am faced with this I just make a new spreadsheet and copy paste the columns I want.

Thanks Bruce, I've done this workaround and I'm happy to report that AP can handle calculated fields so I can link my link the data instead of copy pasting in each cell. At least this way I know that the information lives in only one place and gets referenced to others. Still going to place a request for multiple data merges.

Posted
49 minutes ago, Daniel Bernardes said:

Still going to place a request for multiple data merges.

I honestly do not know how that could be implemented. Say you have a spreadsheet/report with Customers' names and addresses. Another Spreadsheet has Names and phone numbers. Unless the two are setup exactly the same chaos will ensue. Imagine just having some customers who have not given you a phone number, they are not entered in the second spreadsheet and so it all goes bad. 36 records in the first and 24 in the second. If the first customer in the first spreadsheet/report is not in the second then the resulting Merged Publisher file will have 24 customers with wrong phone numbers.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.