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
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
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