Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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 ?
Thanks
Hi ,
I just want Exponential Smoothing column
PBX
https://easyupload.io/gouz99
Data and Sample
https://easyupload.io/u81aea
Thank You
did i want something so hard 🙂
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
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)
Proud to be a Datanaut!
sorry i think i didn't explain. same formula need same formula value
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |