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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.