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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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