Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello, I am unsure of how to extract the values beginning with CRQ (like 'CRQXXXX' or CRQ00002382610) into a new column.
Currently I have the column:
I would like to create a new column:
| ID |
| CRQXXXX |
| CRQ000002382610 |
| CRQXXXX |
| CRQ000002378563 |
This table/data source is being accessed using Direct Query so that may affect the solution.
Solved! Go to Solution.
Hi @Anonymous ,
Once published i have seen last row of your question where it is said that direct query is used. In this case, the best option is to make this column on database table level.
If Power Query (depending on database) allows extract options, below are steps:
Select the column (Issue Title) > Extract > Text between delimiters
For delimiter enter space.
Cheers,
Nemanja
you can try using the search function in combination with Find and Len
SEARCH(<find_text>, <within_text>[, [<start_num>][, <NotFoundValue>]])
Hi @Anonymous ,
Once published i have seen last row of your question where it is said that direct query is used. In this case, the best option is to make this column on database table level.
If Power Query (depending on database) allows extract options, below are steps:
Select the column (Issue Title) > Extract > Text between delimiters
For delimiter enter space.
Cheers,
Nemanja
@nandic ,
I appreciate the prompt response. Unfortunately I get the error "this step results in a query that is not supported in DirectQuery mode" so I am unsure if it is successful. I will see if I can import the table and will retry your solution.
@Anonymous , in this case there are two options:
1) adding this column in database table
2) importing this table, as you suggested. In that case, steps from above will work.
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.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |