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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ainnossro
New Member

Get Latest Accumulated Value of the month in Chart

Hi guys, I am relatively new in developing PBI report and also here in this forum. I will describe my question below, and if there is a topic related that already discuss about this, please let me know. I have tried to search high and low for the same situation I have but couldn't find one.

 

My data consist of many other value but my focus is on accumulated Total FTE. I would like to show the latest accumulated Total FTE for that month in a graph. As below screenshot shown, if I choose Consultant L1 as career level, the graph should shows the latest value in the month as shown in the table:
1 - Apr = 55.2

2 - May = 56.2

3 - Jun = 58.2

4 - Jul = 61.2

5 - Aug = 60.2 etc

 

Right now in the graph it shows sum value of the Total FTE of the month. Kindly advise and thanks in advance for any help and lead!

 

ainnossro_1-1698633135555.png

https://drive.google.com/file/d/1cE0fAStRx_e8E-ya3mjtwBhJqrDLnB9e/view?usp=drive_link

 

Regards,

Anne

1 ACCEPTED SOLUTION
Dangar332
Super User
Super User

Hi, @ainnossro 

 

try below code and check image 

 

 

new FTE = 
var a = CALCULATE(MAX(MY[Weekly End Date]),ALLEXCEPT(MY,'MY'[Fiscal Period]))
return 
maxX(FILTER(MY,MY[Weekly End Date]=a),MY[Total FTE])

 

 

Dangar332_0-1698684331100.png

 

 

View solution in original post

9 REPLIES 9
v-shex-msft
Community Support
Community Support

Hi @ainnossro ,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information and description to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you for the reminder, apologize for the delay as I continue on another project which only now I have the time to do this specific project, I have accepted one of the suggestion as solution, thanks!

Dangar332
Super User
Super User

Hi, @ainnossro 

 

try below code and check image 

 

 

new FTE = 
var a = CALCULATE(MAX(MY[Weekly End Date]),ALLEXCEPT(MY,'MY'[Fiscal Period]))
return 
maxX(FILTER(MY,MY[Weekly End Date]=a),MY[Total FTE])

 

 

Dangar332_0-1698684331100.png

 

 

Hey this is perfect for me, thanks!

FreemanZ
Super User
Super User

hi @ainnossro ,

 

access to your file was denied. Could you handle that?

I have granted all with file link to get Viewer access, thanks!

hi @ainnossro ,

 

try to plot a measure like:

Measure = 
AVERAGEX(
    VALUES(MY[Staff.Name]),
    CALCULATE(AVERAGE(MY[Total FTE]))
) 

 

it worked like:

FreemanZ_0-1698645519560.png

 

 

The problem using average is it does not capture the right accumulated FTE by end of the month, for example for Partner below, for July the value should be 61.20, but when we use average it becomes 60.45. but at least I have new measure to play around with, thank you so much for your feedback!

 

ainnossro_0-1698646565117.png

 

I have granted for xjtutjx already, is that you?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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