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've a clolumn with a long string [TAGS] in which I can find "ApplicationName=xxxxxx"
In this string, each data is separate with ";"
I just want to know the position of the ";" after the "ApplicationName=..."
Countries2 =
var _x= SEARCH("ApplicationName",[TAGS],0,-1)
var _z= SEARCH(";",[TAGS],value(_x),blank())
RETURN _z
My column Countries2 is a Text data type and I've the message "An argument of function "SEARCH" has the wrong data type or has an invalid value"
Thanks a lot for your help
Solved! Go to Solution.
Hi,
You may try
Thanks a lot, it works fine
Please try the measure below:
Countries2 =
VAR _x =
SEARCH ( "ApplicationName=", [TAGS], 1, -1 )
VAR _z =
IF (
_x > 0,
SEARCH ( ";", [TAGS], _x, BLANK() ),
BLANK()
)
RETURN
_z
Hi,
You may try
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 |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 9 | |
| 5 | |
| 5 |