Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AllanBerces
Post Prodigy
Post Prodigy

Visual Calculation - Weekly and Overall %Plan %Actual

Hi good day can anyone help me on my visual calcuation for weekly and overall % plan and actual.

AllanBerces_1-1755957123585.png

Thank you

 

3 ACCEPTED SOLUTIONS
FBergamaschi
Solution Sage
Solution Sage

HI @AllanBerces,

 

weekly actual vs plan = DIVIDE ( [Actual] - [Plan], [Plan] )

 

overall actual vs plan = DIVIDE ( [**bleep** Actual] - [**bleep** Plan], [**bleep** Plan] )

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

View solution in original post

DataNinja777
Super User
Super User

Hi @AllanBerces ,

 

To calculate your weekly percentage of actual versus plan, you can add a new calculation directly on your visual. First, select your table, and then click the "New calculation" button. In the formula bar, you would enter the following DAX expression. This formula works by dividing the "Actual" value by the "Plan" value for each week. After you create this new measure, be sure to format it as a percentage in the formatting pane to display it correctly.

 

Weekly % vs Plan = DIVIDE([Actual], [Plan])

For the overall or cumulative percentage of actual versus plan, you will follow a similar process. Create another new calculation on the same visual. This time, you'll use the cumulative columns from your data. The DAX formula for this calculation is shown below. This will give you a running total of your performance across all the weeks. Just like the weekly calculation, you should format this new measure as a percentage.

Overall % vs Plan = DIVIDE([**bleep** Actual], [**bleep** Plan])

 

Using the DIVIDE() function is a best practice in DAX because it gracefully handles any potential division by zero errors, which might occur if you have a week with a "Plan" value of zero. This prevents your visual from breaking and showing an error.

 

Best regards,

View solution in original post

Shahid12523
Community Champion
Community Champion

Weekly % Achieved

 

Weekly % Achieved = DIVIDE([Actual], [Plan], 0)


Overall % Achieved

 

Overall % Achieved = DIVIDE([Actual], [Plan], 0)


Add both to your table/matrix visual.


Weekly % = week-wise performance, Overall % = cumulative performance.

Shahed Shaikh

View solution in original post

4 REPLIES 4
Shahid12523
Community Champion
Community Champion

Weekly % Achieved

 

Weekly % Achieved = DIVIDE([Actual], [Plan], 0)


Overall % Achieved

 

Overall % Achieved = DIVIDE([Actual], [Plan], 0)


Add both to your table/matrix visual.


Weekly % = week-wise performance, Overall % = cumulative performance.

Shahed Shaikh
DataNinja777
Super User
Super User

Hi @AllanBerces ,

 

To calculate your weekly percentage of actual versus plan, you can add a new calculation directly on your visual. First, select your table, and then click the "New calculation" button. In the formula bar, you would enter the following DAX expression. This formula works by dividing the "Actual" value by the "Plan" value for each week. After you create this new measure, be sure to format it as a percentage in the formatting pane to display it correctly.

 

Weekly % vs Plan = DIVIDE([Actual], [Plan])

For the overall or cumulative percentage of actual versus plan, you will follow a similar process. Create another new calculation on the same visual. This time, you'll use the cumulative columns from your data. The DAX formula for this calculation is shown below. This will give you a running total of your performance across all the weeks. Just like the weekly calculation, you should format this new measure as a percentage.

Overall % vs Plan = DIVIDE([**bleep** Actual], [**bleep** Plan])

 

Using the DIVIDE() function is a best practice in DAX because it gracefully handles any potential division by zero errors, which might occur if you have a week with a "Plan" value of zero. This prevents your visual from breaking and showing an error.

 

Best regards,

Hi @Shahid12523 @DataNinja777 @FBergamaschi thank you very much for the reply, working perfectly.

FBergamaschi
Solution Sage
Solution Sage

HI @AllanBerces,

 

weekly actual vs plan = DIVIDE ( [Actual] - [Plan], [Plan] )

 

overall actual vs plan = DIVIDE ( [**bleep** Actual] - [**bleep** Plan], [**bleep** Plan] )

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors