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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Aimeeclaird
Helper IV
Helper IV

Target vs Actual Values and variance

Hi, I have a list of targets per month. I want to show the actual total vs the target table, and also calculate the variance. Here is an example of my data.

 

https://data2actionltd-my.sharepoint.com/:x:/g/personal/aimee_laird_data2action_co_uk/EcITVcSSC6dNh9...

 

I want to be able to visualise and slice by month to show the actual total value vs the target total. I'd then also like to show the variance, whether that is + or - etc.

 

 

7 REPLIES 7
Anonymous
Not applicable

Hi,

 

Could you precise the strucure of the target table please? it is misssing.

 

Also you want to visualise it in a classic table?

 

 

Hi Kevin,

 

The example target table is on the first sheet of the example I attached here: https://data2actionltd-my.sharepoint.com/:x:/r/personal/aimee_laird_data2action_co_uk/_layouts/15/Do...

 

I'll want to show the actual vs the target for each month to date, with a variance line.

 

Hope this clarifies, 

Many thanks,

 

Anonymous
Not applicable

Okay, is this okay  :

kevinrabe_0-1602513338274.png

 

 

Hope it is what you expect.

Hi Kevin

 

That looks like it would be a sensible output. Please can you share your pbix. file or calculations?

Anonymous
Not applicable

- First create a date table with date and month at least.

- Create a contract Table with unique values

kevinrabe_0-1602515382784.png

 

- Then use this relation between tables :

kevinrabe_1-1602515444866.png

 

- Create your table using contract from contract table and month from date table

kevinrabe_2-1602515543751.png

 

% vs target = DIVIDE(SUM(Data[Value Sold]),SUM(Targets[Target]),0)

Variance = CALCULATE(SUM(Data[Value Sold])-SUM(Targets[Target]))

 

 

Hi, thanks for your response and suggestion.

 

I'm not sure that this solution will work for us though. How are you looking up the target month? As the target changes for each month?

Anonymous
Not applicable

Hi, 

 

I do not get it. THe calculation I did takes in consideration the target changing each month.. Could you be more precise please?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.