Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Query
Unanswered

Filter specific period for Area Chart with DAX

(0) ShareShare
ReportReport
Posted on by

Hi 
I'm trying to show only the last 10 months in the area chart, Measure already filtered as shown below I want to add another one to retrieve only the last 10 months.

EVC Cumm. =
var lastdateevc = CALCULATE(LASTDATE(EVCDis[DatesID]),EVCDis[DisUnit]>0)
var m10 = edate(lastdateevc,-10)
return
IF(max(DatesID[DatesID])<lastdateevc ,BLANK(),
CALCULATE(
  SUM(EVCDis[DisUnit]),
  FILTER(
      ALLSELECTED(DatesID[DatesID]),
      DatesID[DatesID]<= MAX(DatesID[DatesID]))))
 
t.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Query

#1
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

#2
SD-13050734-0 Profile Picture

SD-13050734-0 6

#3
Rhys @ Empower 365 Profile Picture

Rhys @ Empower 365 2

Overall leaderboard

Featured topics