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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors