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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
NickProp28
Post Partisan
Post Partisan

COMO SQL EN DAX

Querida comunidad,

Me gustaría obtener ayuda en un dax.

Tengo un nombre de columna 'JobNumber'.

El número de trabajo tiene trabajo S, trabajo B y trabajo.

EXP: S0001234, B0003214, I0302133.

Sólo quiero trabajo en S en mi informe.

Pero he probado este dax y todavía no funciona para mí.

... && NOT(LEFT(TABLE[JOBNUMBER],1)-"B") &&....

Gracias por su tiempo y ayuda en mi problema

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@NickProp28 , Para la única S, el filtro debe ser como

IZQUIERDA(TABLA[JOBNUMBER],1)-"S")

Puede utilizar La búsqueda

https://docs.microsoft.com/en-us/dax/search-function-dax

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@NickProp28 , Para la única S, el filtro debe ser como

IZQUIERDA(TABLA[JOBNUMBER],1)-"S")

Puede utilizar La búsqueda

https://docs.microsoft.com/en-us/dax/search-function-dax

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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