The Table Filter and Charts for Confluence app can be migrated from Server (Data Center) to Cloud and vice versa successfully:

All the data such as table content and macro settings is a part of a Confluence page. There is no need to prepare the pages containing the macros included in the app before the migration.

You can find a detailed comparison of Cloud and Server versions on this page.