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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.