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
Hi all,
I've found this solution but it didn't work for my case:
try Number.FromText([Text]) otherwise null
I've got a column that is build on alphanumeric characters. (SVF-11254, svf685, SVF742, ....) now I only need the number and nothing else to get the connection with another table right.
I can't use (I think) the delimiter because there are some numbers with 3, 4 or 5 numbers.
With the solution of the 'try number.....' I also get null values for SVF9294 which need to be 9294
Thanks for the help!
Solved! Go to Solution.
Hi @jorismo !
Please try creating a new Column from example in Power Query Editor;
In the new column example type only Integer values for the column, you need to provide 3/4 example value and it will generate M Code to create the new column containing only integer values.
Regards,
Hasham
Hi @jorismo !
Please try creating a new Column from example in Power Query Editor;
In the new column example type only Integer values for the column, you need to provide 3/4 example value and it will generate M Code to create the new column containing only integer values.
Regards,
Hasham
That works, thanks!
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 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 40 | |
| 34 | |
| 25 |