Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, im having calculation which looks like above.
Could someone help? Thanks in advance!
Solved! Go to Solution.
@hejszyszky , Try like
Risk M vs M-1 Cumm = if( not(isblank(IAR_Final_Database[Risk M])) && HASONEVALUE(Periods[Period]), CALCULATE(sumx(values(Periods[Period]),[Risk M vs M-1]), filter(ALLSELECTED(Periods), Periods[Period] <= max(Periods[Period]) )) -CALCULATE([Risk M vs M-1],Periods[Period]=0) , BLANK())
@hejszyszky , Check if these two measures can help
Risk M Cumm = if( not(isblank(IAR_Final_Database[Risk M-1])), CALCULATE(SUM('IAR_Final_Database'[Finance Risk]), filter(ALLSELECTED(Periods), Periods[Period] <= max(Periods[Period]) -1)), BLANK())
Risk M Cumm 1 = if( not(isblank(IAR_Final_Database[Risk M])), CALCULATE(SUM('IAR_Final_Database'[Finance Risk]), filter(ALLSELECTED(Periods), Periods[Period] <= max(Periods[Period]) )), BLANK())
Hi @amitchandak , its definetly closer. But still does not match desirred output.
Where desired output is :
@hejszyszky , Try like
Risk M vs M-1 Cumm = if( not(isblank(IAR_Final_Database[Risk M])) && HASONEVALUE(Periods[Period]), CALCULATE(sumx(values(Periods[Period]),[Risk M vs M-1]), filter(ALLSELECTED(Periods), Periods[Period] <= max(Periods[Period]) )) -CALCULATE([Risk M vs M-1],Periods[Period]=0) , BLANK())
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!