Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
2019-03-01-PID 004-327-659 - 12851 Bathgate Way, Richmond.pdf
I have a column of unstructured data as mentioned above, and i was wondering if there is a way to create a new column and only display the data in red. All the rows have the words "PID" in them.
thanks,
Solved! Go to Solution.
The error happens if Name2 does not contain "PID"
So we can modify the formula to return blank if the search value is not found
pidcolumn =
The format of required part is PID nnn-nnn-nnn
If this is always the case, then you can add a calculated column with the following formula
newColumn =
Correction..
newColumn =
it didn't work.
@yelsherif wrote:Correction..
newColumn =
var leftPosition = FIND("PID",[sourceColumn])returnmid([sourceColumn],leftPosition,15)
@yelsherif wrote:Correction..
newColumn =
var leftPosition = FIND("PID",[sourceColumn])returnmid([sourceColumn],leftPosition,15)
@yelsherif wrote:Correction..
newColumn =
var leftPosition = FIND("PID",[sourceColumn])returnmid([sourceColumn],leftPosition,15)
The error happens if Name2 does not contain "PID"
So we can modify the formula to return blank if the search value is not found
pidcolumn =
thank you so much. it worked
Check out the April 2026 Power BI update to learn about new features.
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 |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |