cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PaulMGNT
Frequent Visitor

Total and not Cumulative on a selected period

Hi,

 

I have an issue creating a mesure

 

I have a forecast table (ordered by month ; YYYYMM).

 

I don't know if it's possible, I am looking for a measure to have the Total of the forecast on a selected period of month (2Months) but I need this Total forecast on all my selected period in order to decline it by wordays. (below is a exemple of what I need, third column).

 

Selected PeriodForecast (I have)Total Forecast (I need)
2022091090012463
202210156312463

 

tell me if you need more information.

 

Many thanks for you help, 

Paul

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @PaulMGNT 

please try

SUMX (

ALLSELECTED ( TableName[Period] ),

[Forecast]

)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @PaulMGNT 

please try

SUMX (

ALLSELECTED ( TableName[Period] ),

[Forecast]

)

Hi  @tamerj1 ,

 

that's great and simple...

 

Thanks a lot.

 

Paul,

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!