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
DivakarKrishnan
Helper II
Helper II

Handling blank values and ignoring additional fields DAX

Dear Team,

 

I am using below DAX values in my below matrix visual. However, I am seeing many blank values.

DAX 1:

Issue_SR_Open_Ageing = CALCULATE(COUNT(Issues[Created week] ),FILTER('Issues','Issues'[ISSUE_CURRENT_TYPE_NAME] in {"Service Request","Task","Service Request with Approvals"}),

FILTER('Issues', 'Issues'[ISSUE_RESOLUTION]=""),FILTER(

              'Issues', LEFT('Issues'[ISSUE_KEY],3) ="GTS"))

DivakarKrishnan_0-1599992583306.png

 

To replace the blank values, I am using ISBLANK() and changing it to ‘0’. But I am facing an issue, it’s not showing ‘0’ for all columns as per below visual and it’s adding few more columns(Blocker, Critical, High) which has already count is zero and I don’t need these fields due to count is already zero.

DAX 2:

Validating Counts = IF (ISBLANK([Issue_SR_Open_Ageing]),0,[Issue_SR_Open_Ageing])

DivakarKrishnan_1-1599992583310.png

 

Kindly help on the same to replace blank with '0' and maintain the same fields as pic1.

 

 

3 REPLIES 3
Anonymous
Not applicable

@DivakarKrishnan 

 

Issue_SR_Open_Ageing = CALCULATE(COUNT(Issues[Created week] ),FILTER('Issues','Issues'[ISSUE_CURRENT_TYPE_NAME] in {"Service Request","Task","Service Request with Approvals"}),

FILTER('Issues', 'Issues'[ISSUE_RESOLUTION]=""),FILTER(

'Issues', LEFT('Issues'[ISSUE_KEY],3) ="GTS")) + 0





Try adding 0

Fowmy
Super User
Super User

@DivakarKrishnan 

You cannot fill all the cells with blank to ZERO when you do not have data for the intersection of ROW and Column. Your measure DAX2 will not work in that case.

Blocker, Critical, High are showing up as the measure is able to produce a blank value.


________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

ok, but any other work around or suggestion to handle this scenario please. Requirement is they don't want to see blank values.

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.

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.