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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
kedarp
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

1 ACCEPTED SOLUTION

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

2 REPLIES 2
Anonymous
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,

Collin

Hi Collin,

 

Thanks for your reply.

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

 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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