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
vanessafvg
Super User
Super User

measure that was working now has a red line and fails

i have this measure which i built on the same version of power bi yesterday but on a different computer, when i opened it up this morning this measure, which only fails when you click into it.

 

TotalDefects = if(ISBLANK(COUNTA(Defects[Key])),0,COUNTA(Defects[Key]))

 

it works completely fine until i actually go into the measure then the last part of the if statment for false, has a red line under it and it fails and breaks the model.

 

This is a bit annoying, any ideas?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




1 ACCEPTED SOLUTION

i had my regional settings on English South AFrica, ive changed it to English United Kingdom which is what the other computer is on and that seems to have resolved the issue.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @vanessafvg,

 

What is the error prompt when you go into this measure? What is the error message when you add this measure into visual?

 

Please pay attention to the column name referenced in this measure, check whether it indeed existis in current .pbix file. For furthur analysis, please share some sample data and the report definition.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

there is not error as such, i have a feeling it has to do with regional or such settings, opening up the same model on a different computer shows no issues





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hi @vanessafvg,

 

On the different computer as you mentioned above, please create a new .pbix file and use the same formula, especially the COUNTA part in this file to check whether issue persists?

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

i had my regional settings on English South AFrica, ive changed it to English United Kingdom which is what the other computer is on and that seems to have resolved the issue.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




spuder
Resolver IV
Resolver IV

Hi,

 

are you using Power BI Desktop or Powerpivot in Excel.

 

I sometimes have the problem that in Powerpivot I got some errors using the wrong delimiter in the Measure. 

 

When I write a measure directly (right click on the table name->new measure) then I have to use the "," and when i go to the powerpivot ribbon and use Measure then I must use the ";" as delimiter.

 

Maybe this is it. Is there no error message when you try to fire up the measure?

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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