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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Microsoft Employee
Microsoft 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors