Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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 got a column in my table called attributes_overview in which information is just unsorted. It looks something like this:
Title | Attributes_Overview | Price
Laptop A | ADE34DG 123.123.123.123 Active | 980,10$
Phone A | 123.123.123.123 ADE34DG Active | 620,50$
Laptop B | Active ADE34DG 123.123.123.123 | 890,00$
The information being all random offcourse.
I need to make an extra column which only includes the MAC-Addresse of the devices.
I got this far but now I'm stuck:
MAC = IF(SEARCH("???.???.???.???", table[Attributes_Overview]))
Hi @Anonymous ,
Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team _ kalyj
Hi @Anonymous ,
According to your description, I can extract the address in the format you mentioned "???.???.???.???".
Create a calculated column.
Addresse =
VAR _Position =
SEARCH ( "???.???.???.???", 'Table'[Attributes_Overview] )
RETURN
MID ( 'Table'[Attributes_Overview], _Position, 15 )
Get the result.
If you also want to extract the ADE34DG and Active part, is there any logic to distinguish them from text before or after?
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
In Power Query, you should be able to Split the column by delimeter
From PBI Desktop > Transform Data > Split Column > By Delimeter
From there :
I placed the "|" in the post to mark the different columns. I need to split up this part "ADE34DG 123.123.123.123 Active" but the order of the column is random and the MAC-Address is also always different.
@Anonymous , Try a new column in the power query
Text.Combine( List.Select(Text.Split([Attributes_Overview], " "), each _ Text.Contains(_, ".")),",")
I was not able test that
What do the "_" stand for?
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 |
|---|---|
| 52 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 39 | |
| 34 | |
| 23 |