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
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.