cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors