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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Adding Current Measure with Previous Measure In Power BI

 

Hi all

I am newbie to power Bi

 

Sales is a Calculated Measure.

 

My Requirement

 

Month             Sales            Required out put

Jan-23             200               200

Feb-23            300               200+300

March             400               200+300+400

 

Please let me know what could be dax for this. I have tried my way but was not successfull please guide

3 REPLIES 3
Anonymous
Not applicable

Hello @Anonymous, 

 

 

Try this,

Sales 1 = CALCULATE(
  SUM([Sales]),
  FILTER(
    ALL(Table_Name),
    Month <= MAX(Month)
  )
)
 
If this helps, mark my post as "Accepted Solution".
Thanks 
Anonymous
Not applicable

 

I did try the code provid the code provide by you ,Let me expain this way

 

We have a measure called **bleep** Inflows which calculates the Cumulative Inflow based on this formula


**bleep** Inflows (Crs) =
SUM('Fund Flow'[Subscription Money])/SELECTEDVALUE(DimAmountConversion[RangeValue],10000000).

I have attached a scree shot where u will have clear understanding of my requirement

We are a requirement of another measure with name **bleep** MOM

 

depends on date selection it will calculate

as per below scree shot

Jan-22=71.04

Feb 22=38.26+71.04

mar 22=8.75+38.26+71.04

date selected betweeb 3/31/22 and 5/31/22

please refer screen shot below

Smash1404_2-1687866397718.png

we have table called Date which contains column called Date

Hi @Anonymous 

 

Please try this measure. Hope it works!

**bleep** MOM =
SUMX (
    FILTER ( ALLSELECTED ( 'Date'[Date] ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ),
    [**bleep** Inflows (Crs)]
)

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors