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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
NithinBN
Helper II
Helper II

Planned vs Actuals in Metrix

Hello All, 

 

I am trying to come up with a Metrix visula where it shows planned vs Actual sales (Based on Employee and Product)

My planned  tables looks like this: 

NithinBN_0-1661454112393.png

 

My Actuals table looks like this:

NithinBN_1-1661454157525.png

 

I want visuals like this: 

NithinBN_2-1661454259326.png

Data is not showing in proper way. 

I also want to highlight green if Actual number is more than planned and Red if Actuals is less than planned. 

 

Please suggest how I can do it. 

 

Thanks in Advance.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NithinBN 

Step 1: Create Calculated Table 1 

DimReps = SUMMARIZE('Actuals Table','Actuals Table'[Name ])


Step 2: Create Calculated Table 2 

DimProduct = SUMMARIZE('Actuals Table','Actuals Table'[Product])


Step 3: Build your Relationship

Dax_Noob_2-1661755242923.png


Step 4 : Plot it on a Matrix

Dax_Noob_3-1661755270035.png
If that helps, please mark it as solution .

Regards

Dax_Noob

 

 

View solution in original post

6 REPLIES 6
Jeanxyz
Impactful Individual
Impactful Individual

@NithinBN I have done something similar in the report below. 

 

The Recorded Hrs are actual amounts, actual amounts are highlighted based on recorded hrs vs planned hrs %. The highlighte is done via conditional formatting -background color. 

 

Let me know if you need more details.

 

conditional formatting.PNG

 

 

conditional formatting2.PNG

Ashish_Mathur
Super User
Super User

Hi,

In each table insert a column called Type and have the following entries - Actual and Budget.  Using the Query Editor, append the two tables.  Create a matrix visual and write this measure

Quantity = sum(Data[Qty])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi, 

Is there any way i can extablish the relation between 2 table ? 

Appending data will duplicate the data right ? 

 

You may create 2 Dim tables - one each for Name and Product.  Create a relationship (Many to One and Single) from each of the 2 Fact tables to the Dim tables.  To your visual, drag Name and Product from the Dim tables.  Write these measures

Planned = sum(Budget[Qty])

Actual = sum(Actual[Qty])


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @NithinBN 

Step 1: Create Calculated Table 1 

DimReps = SUMMARIZE('Actuals Table','Actuals Table'[Name ])


Step 2: Create Calculated Table 2 

DimProduct = SUMMARIZE('Actuals Table','Actuals Table'[Product])


Step 3: Build your Relationship

Dax_Noob_2-1661755242923.png


Step 4 : Plot it on a Matrix

Dax_Noob_3-1661755270035.png
If that helps, please mark it as solution .

Regards

Dax_Noob

 

 

lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...



https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.