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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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