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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

I am trying to do an If/Then referencing another row

Expanded explanation--

In this data I want to do something like:

if team on row a = team on row b

and end of week on row a = end of week on row b - 7

then put the net change amount from row a into a field named 'running total' on row b

2020-05-06_8-55-16.jpg

I am trying to write the following:
If the field PriorWeek in this row equals the EndDate in another row, put in the NetAmount from the other row as PriorAmount.
ie:  if the Net Amount for 5/1/20 is 50, put that as PriorAmount in the row for 5/8/20

1 REPLY 1
d_gosbell
Super User
Super User

There is not enough information to be able to answer you question well.

 

Can you post some example data following the suggestions outlined in the following link:

How to Get Your Question Answered Quickly - Microsoft Power BI Community 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.