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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 31 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 86 | |
| 71 | |
| 38 | |
| 28 | |
| 25 |