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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Team,
how to calculate below fomula from attached below table,
| Workday | (Monday+Tuesday)-Sunday | (Monday+Tuesday)-Sunday |
| actual | Budget | |||
| Sunday | 10 | 15 | ||
| Monday | 15 | 20 | ||
| Tuesday | 35 | 45 |
Output:
| Workday | 40 | 50 |
Thanks in advance.
Solved! Go to Solution.
Workday Calculation Actual =
VAR MondayActual = CALCULATE(SUM(Workdays[Actual]), Workdays[Workday] = "Monday")
VAR TuesdayActual = CALCULATE(SUM(Workdays[Actual]), Workdays[Workday] = "Tuesday")
VAR SundayActual = CALCULATE(SUM(Workdays[Actual]), Workdays[Workday] = "Sunday")
RETURN
(MondayActual + TuesdayActual) - SundayActual
Similarly, you can create a budget.
The Card/Table will display the calculated values of 40 for Actual and 50 for Budget.
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Workday Calculation Actual =
VAR MondayActual = CALCULATE(SUM(Workdays[Actual]), Workdays[Workday] = "Monday")
VAR TuesdayActual = CALCULATE(SUM(Workdays[Actual]), Workdays[Workday] = "Tuesday")
VAR SundayActual = CALCULATE(SUM(Workdays[Actual]), Workdays[Workday] = "Sunday")
RETURN
(MondayActual + TuesdayActual) - SundayActual
Similarly, you can create a budget.
The Card/Table will display the calculated values of 40 for Actual and 50 for Budget.
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
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!