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
abukapsoun
Post Patron
Post Patron

compare values

Hi Dears,

I have the following case and looking for your expertise. Suppose I have the following table I need to compare how much days resources has booked against the forecast

Period         Name       Number of hours

Aug             X                  8

Aug             X                  8

Aug          X                     8

Aug            Y                   7

Aug           Y                   5

Sept

. .

So X booked 3 days, and Y booked 1.6 days.

Now my forecast is as follow

 

Aug            X            5days

Aug           Y             4 days

Sept          X             3 days

. .

How can I represent that graphically? I am looking to show each resource how much he booked against the forecast. As well as to show the total number of days because by all resources against the total forecast. Many thanks in advance

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi,@abukapsoun

     After my research, you can do these as below:

Step1:

 

use this formula to create a table as  below:

Table = FILTER(GENERATE(SUMMARIZE(Table1,Table1[Period],Table1[Name],"total days",CALCULATE(SUM(Table1[Number of hours]))/8),Table2),Table1[Period]=Table2[Period1]&&Table1[Name]=Table2[Name1])

28.PNG

 

Step2;

drag the fields into table

29.PNG

 

Here is pbix, please try it.

https://www.dropbox.com/s/srap6ny87r45mla/compare%20values.pbix?dl=0

 

Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much @v-lili6-msft that looks exactly what I am looking for. 

Now I will try to mirror your proposal on my file.. I hope it works 🙂 

 

hi, @abukapsoun

     

      Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors