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

error de sintaxis durante el análisis: Token no válido, Línea 1, Desplazamiento 44, '.

Hola

Por favor, alguien puede suministrarme un poco de asistencia con un error. Vea a continuación:

DAX Meausure:

Ventas LY á CALCULATE([Total Sales],SAMEPERIODLASTYEAR('Date'[Date]))
Error que viene es:
El siguiente error de sintaxis se produjo durante el análisis: Token no válido, Línea 1, Desplazamiento 44, '.

Atascado y no puede progresar al siguiente paso en LAb2.

Gracias.

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hola @The_East_01 ,

Ignore los errores de sintaxis en la fórmula, debe usar ' en lugar de '.

Esta debería ser la fórmula correcta.

LY Sales = CALCULATE(SUM('Table'[Total Sales]),SAMEPERIODLASTYEAR('Date'[Date]))

Saludos

Jay

Equipo de apoyo a la comunidad _ Jay Wang

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@The_East_01 , Esto parece correcto. Abra Editar consulta/Transformación de datos. Espero que veas algunos errores allí. Trate de corregirlos

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.