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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Elizz
Frequent Visitor

measure to calculate first value in matrix for another measure and applying a reduction to each week

Hi

 

Not sure how to explain what i need help with seems impossible... and i hope ive used the right forum 😉

 

im replicating a spreadsheet in powerbi, 

i have a table of dates (weekending)

a measure calculating the waitlist cohorts:

Sum52Cohort = if(ISBLANK(CALCULATE(sum(Fact_PTL[Total]),
filter(Fact_PTL,Fact_PTL[DSU_Stage]="New OP"  &&
Fact_PTL[52WeekCohort]="52+ Cohort"))),0,CALCULATE(sum(Fact_PTL[Total]),
filter(Fact_PTL,Fact_PTL[DSU_Stage]="New OP"  &&
Fact_PTL[52WeekCohort]="52+ Cohort")))

i need to add a linear reduction, this has been done by taking the first waitlist cohort figure, and minusing a reduction rate.

 

which i have done in a measure: (used the static starting figue as i didnt know how to get the first using DAX)

Reduction = 46862/(int(max(Dim_Date[WeekEndDate])-min(Dim_Date[WeekEndDate]))/7)
 

this then gives the next weeks figure, then again using this new figure minusing the reduction rate again and so forth to the end of the period to get to zero.

example; 

 

Elizz_0-1689846156927.png

 

Appreciate any help :):):)

thanks 

Liz

 

1 ACCEPTED SOLUTION
Elizz
Frequent Visitor

Hi

Ive manage to resolve this, through a few measures

thank you though.

View solution in original post

1 REPLY 1
Elizz
Frequent Visitor

Hi

Ive manage to resolve this, through a few measures

thank you though.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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