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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

How to replace blank counts on tile with zero

Hi All,

We are trying to develop a report where 2source tables are used from SQL server direct query.

Design of report is there are multiple filters and based on selection, distinct count of both the tables shown on 2 different tiles.

Relationship is many to many and filter is bidirectional.


Problem is when there is no match in data for particaular combination of dropdowns, it will show blank. We need to show blank values as 0 on tiles.


Any example to acieve this will be of great help.


Please consider following sample scenario : 

We have 2 tables 

1.Colleges : [CollegeID,CollegeName,Faculty,Campus,Reputation,State,City]

2.Participants : [ParticipantID,ParticipantName,CollegeName,PassingYear,HomeState,HomeCity]


  • Report design is on left dropdowns from college table, on right dropdowns from participants.(cross filters)
  • Distinct count of colleges and participants shown in center.These gets filterted by dropdown selection.
  • All the dropdowns are configured with "Show Select all option" ON and "Single Select" as OFF


When Home state is selected as Goa, Colleges is blank as there is no matching data in colleges table. We need to replace this with more meaningful value like 0.


Attached : 

Tables, reports screenshotColleges tableColleges tableParticipant tableParticipant tableReportReport


Hi Collin,


Thanks for your reply.

However I am able to solve my problem with dax expression using islank, if functions.


View solution in original post

Not applicable

Hello @kedarp,

if you go in to your data tables, there should be an option at the top to select blank cells as zero and not blank. 


hope it helps,


Hi Collin,


Thanks for your reply.

However I am able to solve my problem with dax expression using islank, if functions.


Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.