Forum Discussion
Gateway erro on update Mysql
Hi adrianohg ,
//Operacao is field of table, but each day is a diferente field.
Please revalidate that you are using the same server, database, table/view and with same credentials in both places.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hello,
Thaks for your patience.
Yesterday, i create a new pbix "Fat_Test" and the gateway it worked correctly.
Today I remove this table from pbix "Faturamento" and put again.
I will configurate the gateway again e and try.
Tomorrow I will post if works, but is a big data, and a run on the nigth.
Thanks!
- adrianohg4 years agoFrequent Visitor
The same error, i don't understand
An error occurred while processing the data in the dataset.
Refresh failed:Faturamento has failed to refresh.
Failure details: The last refresh attempt failed because of an internal service error. This is usually a transient issue. If you try again later and still see this message, contact support.
The '<pii>Num_Servico</pii>' column does not exist in the rowset.
Next refresh for Faturamento is scheduled for May 28, 2022 4:00 UTC.Learn more >
Technical Information
Activity Id:
a5d6a938-e36e-4138-bd8f-8a94402c11d5Request Id:
045c3d3e-537e-4b54-832b-2066a9a37f69Cluster Name:
WABI-BRAZIL-SOUTH-redirect.analysis.windows.netRefresh Start Time:
May 27, 2022 4:01 UTCRefresh End Time:
May 27, 2022 4:12 UTCThis my ETL
let Fonte = Odbc.DataSource("dsn=wamp.codesa.local", [HierarchicalNavigation=true]), bi_fat_Database = Fonte{[Name="bi_fat",Kind="Database"]}[Data], notas_Table = bi_fat_Database{[Name="notas",Kind="Table"]}[Data], #"Valor Substituído - 01" = Table.ReplaceValue(notas_Table,"","0",Replacer.ReplaceValue,{"Reatracacao"}), #"Valor Substituído - 02" = Table.ReplaceValue(#"Valor Substituído - 01","","0",Replacer.ReplaceValue,{"Atracacao"}), #"Valor Substituído - 03" = Table.ReplaceValue(#"Valor Substituído - 02","","0000",Replacer.ReplaceValue,{"Ano_Atracacao"}), #"Personalização Adicionada" = Table.AddColumn(#"Valor Substituído - 03", "Atr", each [Atracacao] & "-" & [Reatracacao] & "/" & [Ano_Atracacao]), #"Tipo Alterado1" = Table.TransformColumnTypes(#"Personalização Adicionada",{{"Num_Nota", Int64.Type}, {"Dt_Emissao", type date}, {"Num_Servico", type text}, {"Cod_Cliente", Int64.Type}, {"Des_Cliente", type text}, {"Qtde", Currency.Type}, {"Und", type text}, {"Taxa", Currency.Type}, {"Total", Currency.Type}, {"Atracacao", Int64.Type}, {"Reatracacao", Int64.Type}, {"Ano_Atracacao", Int64.Type}, {"Dt_Atracacao", type date}, {"Navio", type text}, {"Operacao", type text}, {"Sentido", type text}, {"Tipo_Carga", type text}, {"Armazenagem", type text}, {"Contrato", type text}, {"Cod_Centro_Custo", Int64.Type}, {"Atr", type text}}), #"Valor Substituído" = Table.ReplaceValue(#"Tipo Alterado1","ARCELORMITTAL BRASIL","ARCELORMITTAL",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído1" = Table.ReplaceValue(#"Valor Substituído","GERDAU/VITORIA(TPS)","GERDAU",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído2" = Table.ReplaceValue(#"Valor Substituído1","GERDAU AÇOS LONGOS","GERDAU",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído3" = Table.ReplaceValue(#"Valor Substituído2","GERDAU/CARVÃO(MINAS)","GERDAU",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído4" = Table.ReplaceValue(#"Valor Substituído3","GERDAU S.A. (PINDAMO","GERDAU",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído5" = Table.ReplaceValue(#"Valor Substituído4","HELLAS SHIPPING","HELLAS",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído6" = Table.ReplaceValue(#"Valor Substituído5","HELLAS AGEN","HELLAS",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído7" = Table.ReplaceValue(#"Valor Substituído6","COMANDO DE FORÇA DE","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído8" = Table.ReplaceValue(#"Valor Substituído7","COMANDO DO GRUPAMENT","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído9" = Table.ReplaceValue(#"Valor Substituído8","COMANDO DO PRIMEIRO","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído10" = Table.ReplaceValue(#"Valor Substituído9","COMANDO DA FORÇA DE","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído11" = Table.ReplaceValue(#"Valor Substituído10","COMANDO DO SEGUNDO E","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído12" = Table.ReplaceValue(#"Valor Substituído11","ESCOLA NAVAL","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído13" = Table.ReplaceValue(#"Valor Substituído12","CP-ES","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído14" = Table.ReplaceValue(#"Valor Substituído13","C.I. MARINHA RS","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído15" = Table.ReplaceValue(#"Valor Substituído14","WILSON SONS (REBOCAD","WILSON SONS",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído16" = Table.ReplaceValue(#"Valor Substituído15","WILSON SONS (AGÊNCIA","WILSON SONS",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído17" = Table.ReplaceValue(#"Valor Substituído16","FERTIPAR - SERRA","FERTIPAR",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído18" = Table.ReplaceValue(#"Valor Substituído17","FERTIPAR - MARTINS S","FERTIPAR",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído19" = Table.ReplaceValue(#"Valor Substituído18","GRUPAMENTO DE NAVIOS","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído20" = Table.ReplaceValue(#"Valor Substituído19","WILHELMSEN SHIPS SER","WILHELMSEN",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído21" = Table.ReplaceValue(#"Valor Substituído20","CISA TRADING S/A","CISA TRADING",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído22" = Table.ReplaceValue(#"Valor Substituído21","LAFARGE HOLCIM (BRAS","LAFARGE",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído23" = Table.ReplaceValue(#"Valor Substituído22","LAFARGE HOLCIM - MON","LAFARGE",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído24" = Table.ReplaceValue(#"Valor Substituído23","VALE S.A.","VALE",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído25" = Table.ReplaceValue(#"Valor Substituído24","METAL NOBRE SIDERURG","METAL NOBRE",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído26" = Table.ReplaceValue(#"Valor Substituído25","ARCELORMITTAL COMERC","ARCELORMITTAL",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído27" = Table.ReplaceValue(#"Valor Substituído26","VLI MULTIMODAL S.A.","VLI",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído28" = Table.ReplaceValue(#"Valor Substituído27","NAVIO-PATRULHA GURUP","MARINHA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído29" = Table.ReplaceValue(#"Valor Substituído28","RHODES S/A","RHODES",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído30" = Table.ReplaceValue(#"Valor Substituído29","ANGLO AMERICAN MINER","ANGLO AMERICAN",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído31" = Table.ReplaceValue(#"Valor Substituído30","ARCELORMITTAL PROJEC","ARCELORMITTAL",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído32" = Table.ReplaceValue(#"Valor Substituído31","ARCELLOR MITTAL PROJ","ARCELORMITTAL",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído33" = Table.ReplaceValue(#"Valor Substituído32","VOTORANTIM CIMENTOS","VOTORANTIM",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído34" = Table.ReplaceValue(#"Valor Substituído33","CEDISA CENTRAL DE AC","CEDISA",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído35" = Table.ReplaceValue(#"Valor Substituído34","VITORIA LOGISTICA (B","BUAIZ S/A",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído36" = Table.ReplaceValue(#"Valor Substituído35","QUATTROR TRADING","QUATTROR",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído37" = Table.ReplaceValue(#"Valor Substituído36","NIPPON YUSEN K.K.","NIPPON",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído38" = Table.ReplaceValue(#"Valor Substituído37","DHL GLOBAL FORWARDIN","DHL",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído39" = Table.ReplaceValue(#"Valor Substituído38","EVEREST DISTRIBUIDOR","EVEREST",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído40" = Table.ReplaceValue(#"Valor Substituído39","U&M MINERACAO E CONS","U&M",Replacer.ReplaceText,{"Des_Cliente"}), #"Valor Substituído41" = Table.ReplaceValue(#"Valor Substituído40",null,"-",Replacer.ReplaceValue,{"Armazenagem"}), #"Valor Substituído42" = Table.ReplaceValue(#"Valor Substituído41",null,"C",Replacer.ReplaceValue,{"Sentido"}), #"Valor Substituído43" = Table.ReplaceValue(#"Valor Substituído42",null,"**",Replacer.ReplaceValue,{"Operacao"}), #"Valor Substituído44" = Table.ReplaceValue(#"Valor Substituído43",null,"-",Replacer.ReplaceValue,{"Tipo_Carga"}) in #"Valor Substituído44"This is my table on database: