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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
motiwala71
New Member

Error Message

I worked on some report and publisehed it like a month ago.
It was working perfectly, refreshing and updating daily data an so on.
Just recently some 4-5 days back when i refresh data the report showed error on desktop as well as on services with the below details:
"An argument of function 'MID' has the wrong data type or has an invalid value"

I tried to enter the formula again but till date no solution.
Can any1 advise what and where is something wrong happened?

 

1 REPLY 1
SpartaBI
Community Champion
Community Champion

@motiwala71 check to see what column you use in the MID function, maybe it's type changed in the datasource so maybe change the type back in Power Query or add that change type logic in the measure.


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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