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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Change blank word to not applicable in report

Hi all, I have the following query... I currently have the following formula:

CC1 = calculate(average('AD_Perforación'[CC01 - Access ramps to yards built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...]),filter(ALLSELECTED('AD_Perforación'[CC01 - Access ramps to the patios built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...]),not(isblank('AD_Perforación'[CC01 - Access ramps to the patios built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...]))))
but I need to add to the formula so that the word "blank" does not appear, otherwise, that it appears "does not apply"
Jos_Valds_0-1626222816966.png

Thanks a lot

1 ACCEPTED SOLUTION

Try this

 

CC1 =
VAR _CC1 =
CALCULATE (
AVERAGE ( 'AD_Perforación'[CC01 - Access ramps to yards built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...] ),
FILTER (
ALLSELECTED ( 'AD_Perforación'[CC01 - Access ramps to the patios built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...] ),
NOT (
ISBLANK ( 'AD_Perforación'[CC01 - Access ramps to the patios built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...] )
)
)
)
RETURN
IF ( ISBLANK ( _CC1 ), "Not applicable", _CC1 )

 

Cpoy/Pate it and Let me know

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

4 REPLIES 4
aj1973
Community Champion
Community Champion

Hi @Syndicate_Admin 

You need to nest your measures into IF formula:

IF(ISBLANK(yourformula) , "N/A" , yourformula)

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

thanks for the answer, I apologize but I am a bit of a beginner, can you help me where to locate the formula that has given me in my formula?

Thank you

Try this

 

CC1 =
VAR _CC1 =
CALCULATE (
AVERAGE ( 'AD_Perforación'[CC01 - Access ramps to yards built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...] ),
FILTER (
ALLSELECTED ( 'AD_Perforación'[CC01 - Access ramps to the patios built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...] ),
NOT (
ISBLANK ( 'AD_Perforación'[CC01 - Access ramps to the patios built and maintained according to standard. (Conduct or act) Objective of the control:• Operate on ramps built and enabled for the dimensions of the equipment...] )
)
)
)
RETURN
IF ( ISBLANK ( _CC1 ), "Not applicable", _CC1 )

 

Cpoy/Pate it and Let me know

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

I appreciate your time for the answer, I struggled to understand by the translation, but now I work.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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