Forum Discussion
Grouping Column
- Anonymous2 years ago
Hi FJS
This error indicates that you are trying to convert a text type value into Number type. This usually happens in the Changed type step. Please check whether the value "FC0001" appears in "PCI" column. If so, change its column type to text instead.
Change below step from
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"PCI", Int64.Type}, {"PCI Name", type text}, {"PCI Name_1", type text}, {"SiteIn", type text}, {"SiteIn_2", type text}}),
to
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"PCI", type text}, {"PCI Name", type text}, {"PCI Name_1", type text}, {"SiteIn", type text}, {"SiteIn_2", type text}}),
Attaching snippet for more clarity.
- m_dekorte2 years ago
Resident Rockstar
Hi FJS,
See your topic here:
https://community.fabric.microsoft.com/t5/Power-Query/Grouping-Columns/m-p/3761576#M123775