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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.