We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am tryin to create a new column in my tables in power query, and I keep getting this error. I'm not sure how to change the datatype or make it so that this works. I am trying to create a new custom column with the employee id and moduleid. Attached are the two screenshots that I get when I try to create this. Thanks in advance.
Hi @nataliesmiy1357,
AFAIK, the current power query not support do concatenate operations with different data types.
In my opinion, I'd like to suggest you use the 'Text.From' function to transform these values to text before concatenating operations:
Text.From([Emploee Id]) & "|" & Text.From([ModuleID])
Regards,
Xiaoxin Sheng
@nataliesmiy1357 , I think employee Id is number , convert to text using
Number.ToText([Emploee Id])
I tried that.... and now I'm getting this error:
How do I fix this?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 32 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 66 | |
| 40 | |
| 34 | |
| 25 |