The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
English:
----------------------
Good morning everyone...
I have a PBIX that takes the information from an CSV excel file, that is updated daily. so far no problem. But sometimes the name of the columns that the document brings me changes (it changes due to the language, sometimes in Spanish and sometimes in English). For Example: one of the columns is called "Number", but sometimes it can be called "Número". This causes that at the time of the refresh, an error is generated indicating that the column "Number" or "Número" (depends on how you placed it last time) is not found...
Can I use a function to automatically rename these columns regardless of the name you get from the .CSV file, not matter if it be Number or Número?
Or some similar solution that does not generate an error when the information is updated, in case the name of the column changes?...
Thank you very much!!!
Alberto.
-----------------------------------------------------------------
Español:
Buenas a todos...
Tengo un PBIX que toma la información de un archivo de Excel que se actualiza a diario. hasta aca no hay problema. Pero en ocaciones el nombre de las columnas que me trae el documento cambia (Cambia debido al idioma, unas veces en español y otras en ingles). Por Ejemplo: una de las columnas se llama Número, pero en ocaciones puede llamarse "Number". esto causa que a la hora del refresh, se genere un error indicando que la columna "Número" o "Number" (depende como la haya colocado la ultima vez) no se encuentra...
Se puede utilizar una funcion para renombrar automaticamente estas columnas indiferentemente del nombre que traiga del archivo .CSV, ya sea Número o Number?
O alguna solucion similar que no me genere error cuando se actualiza la informacion, en caso de que el nombre de la columna cambie?...
Desde ya muchas gracias!!!
Alberto.
Solved! Go to Solution.
Hi, @aeud83 you can give a reference to the index.
please refer to a linked tutorial from minute 5 +/-.
https://www.youtube.com/watch?v=g4MspcQRHHM
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi, @aeud83 you can give a reference to the index.
please refer to a linked tutorial from minute 5 +/-.
https://www.youtube.com/watch?v=g4MspcQRHHM
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Glad to help 😊