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
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.