cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ivyhai Member
Member

Calculation column for different row calculation

I need to create a new column to calculate column B.  what's the DAX i can use?  thanks!

 

PBI.PNG

4 REPLIES 4
marcelsmaglhaes New Member
New Member

Re: Calculation column for different row calculation

Hey @ivyhai ,

 

 You need to create a Previous Row Dax to perform this calc.

 

 Take a look on the picture. First, I create the measure Previous Row, to check the values and create a virtual column with values based on the previous row. After that, you can create a new measure to multiplicate: 

Multplication = Sum(Planilha1[Revenue])*[Previous Row]
 
Check if this resolve your problem.
 
Regards,
Marcel Magalhães
 previouRow.PNG
ivyhai Member
Member

Re: Calculation column for different row calculation

Sorry, I've updated my question. I need DAX for Column B, which I've got my calculation included in the ( ). 

 

thanks

Super User
Super User

Re: Calculation column for different row calculation

Hi,

Given column A, values in column B can be calculated.  I am sure your dataset is very different from what you have shared here.  Do you have a Date column in your dataset?  Share your data here.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ivyhai Member
Member

Re: Calculation column for different row calculation

no date required for this calculation, see below. 

PBI.PNG

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 6 members 3,506 guests
Please welcome our newest community members: