Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

No se puede hacer referencia a la columna en la función SEARCH DAX

Hola

Tengo problemas para crear una variable en medida con la función SEARCH porque no detecta la columna a la que estoy intentando hacer referencia. He cambiado el tipo de columna a TEXTO, pero todavía no funciona.

Cualquier ayuda sería apreciada. ¡Gracias!

Measure.jpgRef Column.jpg

1 ACCEPTED SOLUTION

@tedr28, está usando columna no medida, eso es lo que obtuve del post

View solution in original post

6 REPLIES 6
parry2k
Super User
Super User

@tedr28 debe comprender la diferencia entre Medir y columnas calculadas en caso de que aún no lo sepa. Hay muchos mensajes en él.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@amitchandak @parry2k Hola, entiendo que necesito usar una agregación, pero estoy probando una solución de la web y pueden hacer referencia directamente a la tabla. ¿Por qué no puedo replicar lo que hicieron?

https://community.powerbi.com/t5/Desktop/Count-cells-starting-with-text-or-containing-text/m-p/11714...count.JPG

@tedr28, está usando columna no medida, eso es lo que obtuve del post

Anonymous
Not applicable

Tienes razón. ¡Gracias por señalarlo!

amitchandak
Super User
Super User

@tedr28 , Una medida puede tomar medida o columna agregada, por lo que lo que puede hacer es

poner esto en el filtro

if(isblank(Countx(filter(findingdetails,search("O",findingdetails[Answer],,0)>0), findingdetails[Answer])) ,0,1)

O

if(Countx(filter(findingdetails,search("O",findingdetails[Answer],,0)>0), findingdetails[Answer])+0 á0 ,0,1)

parry2k
Super User
Super User

@tedr28 se crea medida y no se puede usar la columna directamente en una medida, tiene que usar con alguna agregación.

cambiar 'FindingDetails'[Respuesta] a MIN('FindingDetails'[Respuesta] )

Consulta mi última entrada de blog Año-2020, Pandemia, Power BI y más allá para obtener un resumen de mis versiones favoritas de las características de Power BI en 2020

Me gustaría elogios si mi solución ayudara. 👉 Si puedes dedicar tiempo a publicar la pregunta, también puedes hacer esfuerzos para dar Felicitaciones a quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos en https://perytus.com, su ventanilla única para proyectos/formación/consulta relacionadas con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.