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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.