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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
uffee
Frequent Visitor

Insert rows based on values/calculations from another row

I'm pretty new to Power BI/DAX world and more familiar with Excel/SQL. I've been trying to solve the following problem for a quite while now. Here is the case:

 

I get the Invoice table with accounts, next invoice date, monthly billing from CRM. I only get the "current data" from the attached invoice-table with only single value for "next invoice date". However I'm willing to calculate the future invoicing based on the monthly billing frequency which can variate. In Excel I can do this just by "Edate" function using the attributes next invoice date and billing frequency and fill it down to get the "predicted data" from this invoice-table.

 

image.png

So my question is, is it possible to add rows based on values/calculations from another row in Power BI? Ideal situation would be that I could predict the billing until the end of this year. I know with DAX I can filter, add columns/tables, but I believe not rows? Or could inserting rows be already done in query editor?

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

You can use CALCULATETABLE to essentially calculate a new table from existing tables.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I was hoping to get the calculated values also on the same table to use them as values on the same column chart. But only way to add rows is to create a new table?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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