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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Rubal
Helper II
Helper II

Nested if with multiple conditions

Hi,

 

need some help with a DAX nested if statements with multiple conditions as per below

 

if Actual or Forecast = "Forecast"

then volume (cases) * growth factor and volume(SUOM) * growth factor

else if Actual or Forecast = "Actual" then volume (cases) , volume (SUOM) 

 

Thank you.

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Rubal 

Better give an example with actual numbers.

It is hard to understand your requirements.

Thanks

A


@Anonymous wrote:

Hi @Rubal 

Better give an example with actual numbers.

It is hard to understand your requirements.

Thanks

A


 ActualForecast
 Jan-18Feb-18Mar-18Apr-18May-18Jun-18Jul-18Aug-18Sep-18Oct-18Nov-18Dec-18Jan-19Feb-19Mar-19Apr-19May-19Jun-19Jul-19Aug-19Sep-19Oct-19Nov-19Dec-19
Volume Case2323232334523232322.23.63.65.25.52.8
Volume SUOM203020302030203030405020302030203020332436394470
Growth Factor1111111111111111111.11.21.21.31.11.4

 

I would have a filter for Actual and Forecast. When I select actual it will only show data available till June 19 and Forecast will show July 19 - Dec 19.

 

Therefore, if the filter is "Actual" I get the Actual Volume and Actual Volume SUOM, However, if the filter is Forecast I will have the growth factor multiplied for the same period last year. Hope this explains the situation.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors