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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vishy86
Post Patron
Post Patron

Condition based Formula calculation

Hi,

 

I have a Program Year Age calculation (Calculated Column) based on a formula.

 

There is another column Single Risk Indicator which can only have 2 values viz. Y and N. I want the above formula for Program Year Age to be always calculated only for Single Risk Indicator = 'N'.

 

How do I implement this condition based formula.

 

Please show and help if possible. 


Thanks,

Vishy

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

You want to calculation Program Year Age to only occur if the Single Risk Indicator = 'N''?

If that is the case you need an IF statement:

IF( 
[Single Risk Indicator] = "N" , 
[Program Year Age] , 
BLANK()
)

 


Connect on LinkedIn

View solution in original post

1 REPLY 1
tex628
Community Champion
Community Champion

You want to calculation Program Year Age to only occur if the Single Risk Indicator = 'N''?

If that is the case you need an IF statement:

IF( 
[Single Risk Indicator] = "N" , 
[Program Year Age] , 
BLANK()
)

 


Connect on LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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