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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Showing Zero instead of Blank ins a Text Column

Hello, 

I have a dataset with a column that contains N or Y as values. I need to how how many Y , whenever it appears on the report. Issue is it rarely does and instead of seeing blank I need to see Zero. I am using the formula below. Any help is greatly appreciated. 

 

Credit Holds = CALCULATE(COUNTA('Credit Holds'[Credit Hold]), 'Credit Holds'[Credit Hold]= "Y")
 
Thank you
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Credit Holds = CALCULATE(COUNTA('Credit Holds'[Credit Hold]), 'Credit Holds'[Credit Hold]= "Y")+0

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

Credit Holds = CALCULATE(COUNTA('Credit Holds'[Credit Hold]), 'Credit Holds'[Credit Hold]= "Y")+0

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.