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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

The following system error occurred: type mismatch - only happen when its a measure in visual

I have create a measure and a calculated column using the same expression:
A = if(SUM(UP[UCC])<>0,DIVIDE(sum(CUSTOMER[PosWri]), sum(UP[UCC]),BLANK()))
However, if the measure gets dragged into a visual, this error occurs, but the calculated column will not.
 
qinai104406108_0-1642622173730.png

I try to understand what is the reason? what is the difference?

Thanks.

 
 
3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thanks in advance for your kind cooperation!

 

If not,Would you mind telling me a more detailed description of your needs so that I can help you better?

 

Hope it helps,


Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

what happens when you try with this simplified version?

A = DIVIDE(sum(CUSTOMER[PosWri]), sum(UP[UCC]),BLANK())
Anonymous
Not applicable

some of my data in Up[UCC] is equal as 0 so it will give me an error.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors