Een voorbeeld waarbij de omzet van een klant niet aansluit met hetgeen er in Odoo staat.
Na connecten in power BI, volgende stappen gedaan
let
Source = OData.Feed("https://bridge-online.cloud/xxxxxxxx/odata4", null, [Implementation="2.0"]),
#"Filtered Rows4" = Table.SelectRows(Source, each ([Name] = "Odoo.account.invoice_report@odo")),
#"Expanded Data2" = Table.ExpandTableColumn(#"Filtered Rows4", "Data", {"__last_update", "account_id", "account_id_label", "analytic_account_id", "analytic_account_id_label", "commercial_partner_id", "commercial_partner_id_label", "company_currency_id", "company_currency_id_label", "company_id", "company_id_label", "country_id", "country_id_label", "display_name", "fiscal_position_id", "fiscal_position_id_label", "id", "invoice_date", "invoice_date_due", "invoice_user_id", "invoice_user_id_label", "journal_id", "journal_id_label", "move_id", "move_id_label", "move_type", "partner_id", "partner_id_label", "payment_state", "price_average", "price_subtotal", "product_categ_id", "product_categ_id_label", "product_id", "product_id_label", "product_uom_id", "product_uom_id_label", "quantity", "state", "team_id", "team_id_label"}, {"__last_update", "account_id", "account_id_label", "analytic_account_id", "analytic_account_id_label", "commercial_partner_id", "commercial_partner_id_label", "company_currency_id", "company_currency_id_label", "company_id", "company_id_label", "country_id", "country_id_label", "display_name", "fiscal_position_id", "fiscal_position_id_label", "id", "invoice_date", "invoice_date_due", "invoice_user_id", "invoice_user_id_label", "journal_id", "journal_id_label", "move_id", "move_id_label", "move_type", "partner_id", "partner_id_label", "payment_state", "price_average", "price_subtotal", "product_categ_id", "product_categ_id_label", "product_id", "product_id_label", "product_uom_id", "product_uom_id_label", "quantity", "state", "team_id", "team_id_label"}),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Data2",{{"__last_update", type date}, {"invoice_date", type date}, {"price_average", type number}, {"price_subtotal", type number}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([account_id_label] = "800100 Omzet NL handelsgoederen 1" or [account_id_label] = "800200 Omzet binnen EU handelsgoederen 1" or [account_id_label] = "800300 Omzet buiten EU handelsgoederen 1")),
#"Changed Type2" = Table.TransformColumnTypes(#"Filtered Rows",{{"id", Int64.Type}, {"move_id", Int64.Type}}),
#"Changed Type1" = Table.TransformColumnTypes(#"Changed Type2",{{"id", type text}})
in
#"Changed Type1"
Omzet ODOO (per vandaag)
Als ik in het rapport van 11 juni 2024 kijk, zie ik de factuur van 08/01/24
Na verversen data verdwijnt de factuur van 08/01/2024.
Een idee hoe dat kan en hoe dit op te lossen? Lijkt alsof de data niet 1-op-1 wordt doorgegeven.