Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Eli_r06
New Member

Error de coincidencia detectados

Hola comunidad! Les agradezco de antemano sus recomendaciones y apoyo sincero para resolver el siguiente error, cuando he actualizado la tabla Datos me indica que existe un error de coincidencia y para repararlo, me genera una nueva columna indice, he revisado la tabla y no encuentro las filas con errores, luego elimine el paso de tipo cambiado y lo volvi a realizar teniendo cuidado que no sea un error por tipo, pero el error persiste, hasta el momento no he encontrado la forma de resolverlo. Aqui lo que me aparece:

= let
tableWithOnlyPrimitiveTypes = Table.SelectColumns(Origen, Table.ColumnsOfType(Origen, {type nullable number, type nullable text, type nullable logical, type nullable date, type nullable datetime, type nullable datetimezone, type nullable time, type nullable duration})),
recordTypeFields = Type.RecordFields(Type.TableRow(Value.Type(tableWithOnlyPrimitiveTypes))),
fieldNames = Record.FieldNames(recordTypeFields),
fieldTypes = List.Transform(Record.ToList(recordTypeFields), each [Type]),
pairs = List.Transform(List.Positions(fieldNames), (i) => {fieldNames{i}, (v) => if v = null or Value.Is(v, fieldTypes{i}) then v else error [Message = "El tipo del valor no coincide con el tipo de la columna.", Detail = v], fieldTypes{i}})
in
Table.TransformColumns(Origen, pairs)

 

los pasos en la consulta:

Eli_r06_0-1673062262257.png

 

Agradezco su comentarios.

 

2 REPLIES 2
Eli_r06
New Member

Hi AIB!

 

Thanks for your answer, I found the problem, it was 124 files that had #N/A and power bi doesn´t recognize it.

 

AlB
Community Champion
Community Champion

Hi @Eli_r06 

Can you share the table Origen (best in a pbix) so that we can reproduce the problem and find a solution?

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.