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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rashidayyash990
New Member

MdxScript(Model) (168, 25)

Hello,

I am working with Power BI and I had a measure in DAX working perfectly, when I took the filter from the source query, the measure never works, gives me the following error: "MdxScript(Model) (168, 25) Calculation error in the measure ...: An argument of the function 'DATE' has the incorrect data type or the result is too large or too small."
I need your help to solve this.

Thank you in advance.

------

Olá,

Estou trabalhando com Power BI e tinha uma medida no DAX funcionando perfeitamente, quando tirei o filtro da consulta da fonte, a medida jamais funciona, me dá o seguinte erro: "MdxScript(Model) (168, 25) Erro de cálculo na medida: Um argumento da função 'DATE' tem o tipo de dado incorreto ou o resultado é muito grande ou muito pequeno".
Preciso da vossa ajuda para resolver isto.

Agradeço antecipadamente.

-----

Hola:

Estoy trabajando con Power BI y tenía una medida en el DAX funcionando perfectamente, cuando quité el filtro de la consulta de la fuente, la medida se rompió, me dá el siguiente error: "MdxScript(Model) (168, 25) Error de cálculo en la medida: Un argumento de la función 'DATE' tiene el tipo de datos incorrecto o el resultado es muy grande o muy pequeño."

Necesito vuestra ayuda para resolverlo.

Gracias antemano.

-----

 

1 REPLY 1
tamerj1
Super User
Super User

Hi @rashidayyash990 

Probably due to blank values 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.