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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.