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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
kvjacob
New Member

Offsetting column

I am looking for a way to pull the same data into 2 different data tables with one table having a 1 day offset so I can create the following report. The columns highlighted in orange are calculated and manually entered, however the ones in yellow come from the accounting system and is updated every day. It is basically reservations made for a hotel each day and estimated revenue from those reservations. 

 

The current data would be the column that says OTB 8/1 and then the columns that say OTB 8/2 would be the  the old data we recieved yesterday. 

 

My thought are that we could create 2 tables and have 1 that offsets by a day and pull the data from both, however I am new to both DAX and powerbi and have no clue how to accomplish this. 

2019-01-22 11_37_25-Book3 - Excel.png

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @kvjacob

 

You may use Merge Queries in query editor.Here is the video and article about this feature for your reference.Then you may create calculated columns with DAX or create custom columns in query editor.If you need further help,please share the .pbix file or some sample data.You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you I will try this. 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.