Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi, how can i replicate the above formula in Power BI, i am unable to do so?
please help.
need to get the sum of those names who have delivered in last three months consistenly.
Although you asked about Power BI, I would highly recommend using the "IFS" function in Excel instead of nested IF statements. It is both easier/simpler to write, and easier for other people to understand.
DAX does not have IFS, instead you can use the SWITCH function. Something like this:
COLUMN =
SWITCH(
TRUE()
, table[period] = 201809
|| table[period] = 201809 - 1
|| table[period] = 201809 - 2
, "Condition 1"
, CALCULATE(
SUM(table[Complete/Sent Approval Sites])
, FILTER(
table
, table[Engineer Name] = EARLIER(table[Engineer Name])
)
, FILTER(
table
, table[Period] = EARLIER(table[Period])
)
)
> 0
, "Condition 2"
, "Everything Else"
)
Obviously your formula is much more complicated, so you will have to build this out, but that is the basic structure.
More broadly speaking, Power BI is not Excel. It has different strengths and a different way of approaching things. This same result can be achieved much easier using a built out data model and the functionality of measures / visuals in Power BI.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!