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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
ForzaMami
Regular Visitor

Using a top row

It's a little hard to explain, I need to use the same formula in a single dax formula, the one in the top row. I'm trying to power the "Exponential Smoothing" column in the excel below. Is something like this possible ?

 

ForzaMami_0-1650617999580.png

 

Thanks

6 REPLIES 6
ForzaMami
Regular Visitor

Hi ,

I just want Exponential Smoothing column


PBX
https://easyupload.io/gouz99

 

Data and Sample
https://easyupload.io/u81aea

 

ForzaMami_0-1650960890796.png

 

Thank You

 

ForzaMami
Regular Visitor

did i want something so hard 🙂

BA_Pete
Super User
Super User

Hi @ForzaMami ,

 

You should be able to set it as a variable:

_expoSmoothing =
VAR __minSatis =
CALCULATE(
    MAX(yourTable[Satis]),
    FILTER(
        yourTable,
        yourTable[Year_Month] = MIN(yourTable[Year_Month])
    )
)
RETURN
([thing1] * [thing2]) + ([thing3] * __minSatis)

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




I need to take the calculation from the previous line as a variable. This did not happen 😞

 

Sorry, I misunderstood your requirement.

 

Add an index column to your table and set a variable like this:

_expoSmoothing =
VAR __lastExpoValue =
LOOKUPVALUE(
    yourTable[Exponential Smoothing],
    yourTable[Index],
    yourTable[Index] - 1
)
RETURN
([thing1] * [thing2]) + ([thing3] * __lastExpoValue)

 



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




sorry i think i didn't explain.  same formula need same formula value 

 

ForzaMami_0-1650623908340.png

 

Exponential_1 =
([Input2Values]*[Measure Last Period]) + ([Input2Values] * [Measure Last Period](Wrong) )
 
20200301 = (0,5*633.973) + ( 0,5*4.076.361 ) = 2.355.167 must
20200401 = (0,5*766.859) + ( 0,5*2.355.167 )= 1.561.013 must

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.