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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Sum offest equivalent in DAX

Hey,

 

I would appreciate equivalent of this Excel formula "=SUM(OFFSET(A2;0;0;1;A7))" in DAX. Could someone help me?

 

Thanks.

2 REPLIES 2
MFelix
Super User
Super User

Hi @Anonymous ,

 

Although a part of the syntax in DAX is similar to excel and used in the same way, DAX calculations is dependent on context and based no the information you place on your visuals and tables.

 

The OFFSET formula can be achieve on DAX but depends on your data and the context because you are not making the calculations of specific columns like in Excel, the information can be changed in formatting and position within the visual.

 

Can you share an ecample of what you need to achieve with a small example dataset?


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

 

I need to sum number of cells from left higlighted by red line based on number highlited by yellow line. For example in first row i need to sum first six cells from left.

 

Thanks.

 

Capture.JPG

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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