Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
= Table.AddColumn(#"Changed Type3", "Recode", each if Text.StartsWith([Change Type_ID],{"P","A","B","C"}) then [Change Type_ID] else [Location]&Text.End([ChangeType_ID],10))
This is not working in my query and Error for all
Error expression, We cannot convert a value of type List to type Text.
Details:
Value=List
Type=Type
Solved! Go to Solution.
Use this
= Table.AddColumn(#"Changed Type3", "Recode", each if List.Contains({"P","A","B","C"}, Text.Start([Change Type_ID],1)) then [Change Type_ID] else [Location]&Text.End([ChangeType_ID],10))
Thank you for your reply. It working.
Use this
= Table.AddColumn(#"Changed Type3", "Recode", each if List.Contains({"P","A","B","C"}, Text.Start([Change Type_ID],1)) then [Change Type_ID] else [Location]&Text.End([ChangeType_ID],10))
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 11 | |
| 8 | |
| 6 |