Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet 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!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |