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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
vedhikha
Regular Visitor

How to write a DAX using ISBLANK()

I created a column that has to return a score of 0.1 for claims=blank and 0 for any claims present

 

Claim_score = IF(ISBLANK(COUNT(Claims[SCAC]))==TRUE,0.1,0)
 
The above works if claims are present and don't give the value 0.1 when there are no claims.
 
Please help
4 REPLIES 4
Wilson_
Super User
Super User

Hello,

 

Can you please share a small sample table? There doesn't seem to be much to work with here.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





vedhikha_0-1680566519724.png

I created a column "Claim_score", which basically is "0" when there is a claim (when the "scac" is present in the table), when the "scac" is blank (not present in table) , then i have to assign a claim score is 0.1. Hope this makes sense

Hello,

 

I created some dummy data based on your table and your measure as constructed in your original post works for me. Maybe you can instead provide a sample pbix file so I can investigate further?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





vedhikha
Regular Visitor

vedhikha_0-1680564660115.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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