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 August 31st. Request your voucher.

Reply
rickferreiran
Helper I
Helper I

Create a table with one row per month with data from next month

Hello I have a table with following data
id date total
1 01-02-2025 20
2 01-02-20025 40
2 01-05-2025 30

My goal is to have one row for each month of the current year, carrying forward the same data until the next month has new data.
goal
id date total
1 01-01-2025 20
1 01-02-2025 20
2 01-01-2025 40
2 01-02-2025 40
2 01-03-2025 30
2 01-04-2025 30
2 01-05-2025 30

I only show data until the previous month of current month.
Can someone help me with dax code to create a dax table with my goal? Thanks

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @rickferreiran,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

View solution in original post

3 REPLIES 3
v-nmadadi-msft
Community Support
Community Support

Hi @rickferreiran ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @rickferreiran,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

lbendlin
Super User
Super User

No need for DAX code. Use the "Fill Down"  option in Power Query.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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