Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello good day
I'm trying something similar to the Procx function, to fill a column
I have this Table1:
And this Table2:
I'm want to use this Table2 as a reference table and use the words of Column1 to search in Table1 Column called [Descrição]
So, if column [Descrição], contains text of [Column1]
I want to return [Column2] values in Column of table1 called [Caracteristicas_1]
Is possible to do This with DAX or M language?
Example
Table1
Código | Descrição | Strong HA | Titulo | Strong HF | P1 | Descrição | PB | P2b | Caracteristicas | Negrito p2 | Caracteristicas_1 |
108077 | Kit Festa Flamengo - Festcolor | <h3><strong> | Kit Festa Flamengo - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum | </p><br> | <p2><b> | Características | </b></p> | |
100357 | Toalha De Mesa Festa Flamengo - 01 unidade - Festcolor | <h3><strong> | Toalha De Mesa Festa Flamengo - 01 unidade - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum | </p><br> | <p2><b> | Características | </b></p> | |
100362 | Vela Emblema Festa Flamengo - 1 unidade - Festcolor | <h3><strong> | Vela Emblema Festa Flamengo - 1 unidade - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum | </p><br> | <p2><b> | Características | </b></p> |
Table2
Column1 | Column2 |
Kit Festa | <p>Papel Cartão</p><p>O kit é composto por:</p><p>04 unidades de quadros decorativos - 01 pacote;<br /> |
Vela | <p>- Parafina;<br>- Papel adesivado<br>Quantidade:<br>-Pacote com 01 unidade</p><br> |
Toalha De Mesa | <p><b>Características:</b><br />-Plastico Polietileno</p><p><b>Medidas:</b><br /> |
Table1 gonna be:
Código | Descrição | Strong HA | Titulo | Strong HF | P1 | Descrição | PB | P2b | Caracteristicas | Negrito p2 | Caracteristicas_1 |
108077 | Kit Festa Flamengo - Festcolor | <h3><strong> | Kit Festa Flamengo - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum | </p><br> | <p2><b> | Características | </b></p> | <p>Papel Cartão</p><p>O kit é composto por:</p><p>04 unidades de quadros decorativos - 01 pacote;<br /> |
100362 | Vela Emblema Festa Flamengo - 1 unidade - Festcolor | <h3><strong> | Vela Emblema Festa Flamengo - 1 unidade - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum | </p><br> | <p2><b> | Características | <p>- Parafina;<br>- Papel adesivado<br>Quantidade:<br>-Pacote com 01 unidade</p><br> | |
100357 | Toalha De Mesa Festa Flamengo - 01 unidade - Festcolor | <h3><strong> | Toalha De Mesa Festa Flamengo - 01 unidade - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum | </p><br> | <p2><b> | Características | </b></p> | <p><b>Características:</b><br />-Plastico Polietileno</p><p><b>Medidas:</b><br /> |
A second thing is:
In Table1 i have a column called [Descrição_1] with cell text similar to "Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum"
Is possible search and replace the text of Column [Descrição_1] using the word "Festa" as reference based on column 1 [Descrição]? Just some words
Example:
Código | Descrição | Strong HA | Titulo | Strong HF | P1 | Descrição_1 |
108077 | Kit Festa Santos - Festcolor | <h3><strong> | Kit Festa Santos - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Flamengo</strong> lore ipsum |
And they gona be this:
Código | Descrição | Strong HA | Titulo | Strong HF | P1 | Descrição_1 |
108077 | Kit Festa Santos - Festcolor | <h3><strong> | Kit Festa Santos - Festcolor | </strong></h3><br> | <p1> | Ipsum! Lore ipsum <strong>Festa Santos</strong> lore ipsum |
Thanks for any help
I see some topics about If text.contains e DAX vlookup, but I don't know if it's possible to use 4-column vlookup this way
And I didn't find an alternative to know if I can replace the text as in the second case
Any suggestion?
Solved! Go to Solution.
The solution isn't very helpful in this case, I'm still looking for the solution to this problem on this forum.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |