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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Aditya-2231
New Member

Calculation

Hi I'm pasting an Excel. I want to implement same in power bi. Value is measure that is already present. And need column is ask.IMG_0142.jpeg

6 REPLIES 6
Aditya-2231
New Member

Hi ss is already pasted. Same data is pulling in power bi. Thanks

ryan_mayu
Super User
Super User

@Aditya-2231 

could you pls provide some raw data?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi ss is already pasted. Same data is pulling in power bi. Thanks

@Aditya-2231 

pls try this

Column = 
VAR _start=maxx(FILTER('Table','Table'[month]=min('Table'[month])),'Table'[value])
VAR _start2=MINX(FILTER('Table','Table'[month]>min('Table'[month])),'Table'[month])
RETURN _start-sumx(FILTER('Table','Table'[month]>=_start2&&'Table'[month]<=EARLIER('Table'[month])),'Table'[value])

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I'm getting circular depedancy error.

@Aditya-2231 

you can try this

measure = 
var _min=CALCULATE(min('Table'[month]),ALL('Table'))
VAR _start=maxx(FILTER(all('Table'),'Table'[month]=_min),'Table'[value])
RETURN _start-sumx(FILTER(all('Table'),'Table'[month]>_min&&'Table'[month]<=max('Table'[month])),'Table'[value])

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.