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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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