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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi,
I'm trying to calculate the sum of the projected total value for each employees across several regions. The aim is to sum the Salary column where the Status column is active up until the Salary value for a given active Month is 0, then give the inactive Salary value afterwards for each Employee and Region. The 'Projected Total Value' column is what my end goal is whether it be a measure or calculated column.
hii, once try this DAX expression
Projected Total Value = CALCULATE( SUM(
CASE
WHEN Status = "Active" THEN Salary
ELSE
CASE WHEN StatusMonth <= LastActiveMonth THEN 0 ELSE InactiveSalary END
END),
FILTER( table,
table[Status] = "Active")
)
@Abhinav054
Hello! Thank you for your response. I think I'm missing a couple of steps prior as you're referencing LastActiveMonth and Inactive Salary. Do you mind sharing the pbix file?
User | Count |
---|---|
9 | |
8 | |
5 | |
4 | |
3 |