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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Referencing previous values on the same column

Hey guys, 

 

I'm just staring to use Power BI and I'm trying to do something that doesn't look that hard when it comes to Excel, but I'm struggling for some days now to calculate it in power BI.

 

I have a table with three columns made by the crossjoin function:

 

Client    |     Item code    |   Month   

I want to calculate a 4th column to estimate sales for the month, but I need to use the information from previous months to do it. 

For exemple, calculating future sales for june would require me to use the amount of itens sold from january to may.

 

Is this even possible in power BI? How could I get started? 

 

Any help would be appreciated

Thanks for the support! 🙂 

1 REPLY 1
v-danhe-msft
Employee
Employee

Hi @Anonymous,

From your description, I could not figure out the relationship between the sales and other columns, and I also could not understand how could you want to calculate the future sales? Could you please offer me the sample data of the table made by the crossjoin function and could you give me the logic relation about your desired future sales?

 

Regards,

Daniel He

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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