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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
StuartSmith
Power Participant
Power Participant

By adding +0 to a measure, it increased the number of rows.

I have the below measure as a table column (Whole Numer) and its currently displaying some empty rows where there are no public holidays.  I tried adding +0 to the end of the measure, but when I do this, it increases the number of rows of the table visual to a very large amount.  

 

How can I get "0" into the empty rows.

 

Measure: 

(4) PublicHolidays = COUNTROWS(FILTER(('Table: Public Holidays'), 'Table: Public Holidays'[Date +1] >= 'KPI Measures: Time to Fill'[(1) PositionEndDate] && 'Table: Public Holidays'[Date +1]<='KPI Measures: Time to Fill'[(2) PositionFilledDate] ))
 
2023-04-24_15-49-38.png
 
Thanks in advance.
2 REPLIES 2
StuartSmith
Power Participant
Power Participant

Thanks for taking the time to try and solve my issue.  Unfortunately, both measurse still increase my row count from 103 to 721.  I may just have to have the cells empty.

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

you could try:

 

Measure: (4) PublicHolidays = COALESCE(COUNTROWS(FILTER(('Table: Public Holidays'), 'Table: Public Holidays'[Date +1] >= 'KPI Measures: Time to Fill'[(1) PositionEndDate] && 'Table: Public Holidays'[Date +1]<='KPI Measures: Time to Fill'[(2) PositionFilledDate] )),0)
 
or
 
Measure: (4) PublicHolidays = if(ISBLANK(COUNTROWS(FILTER(('Table: Public Holidays'), 'Table: Public Holidays'[Date +1] >= 'KPI Measures: Time to Fill'[(1) PositionEndDate] && 'Table: Public Holidays'[Date +1]<='KPI Measures: Time to Fill'[(2) PositionFilledDate] ))),0,COALESCE(COUNTROWS(FILTER(('Table: Public Holidays'), 'Table: Public Holidays'[Date +1] >= 'KPI Measures: Time to Fill'[(1) PositionEndDate] && 'Table: Public Holidays'[Date +1]<='KPI Measures: Time to Fill'[(2) PositionFilledDate] )),0))
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors