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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Duplicating rows based on condition and editing duplicated row

 

Hello, I've got an issue that I do now know how to solve in power BI. My dataset either lacks values (has 0's) in speciffic months or misses that speciffic month alltogether. My goal would be to model it the way I did in excel on the screenshots. I assume duplicating those rows exactly as they are is not too hard, by then it also has to go with half the value for the missing month and half to the one im copying from.

 

Ideally I need both of those 'cases' solved somehow using dax, but not at the same time (I will know which month will have 0's, and which different month will be missing at all).

 

2019-04-08 13_36_43-power bi month issue - Excel.png

 

2019-04-08 13_37_02-power bi month issue - Excel.png

 

Thank you for help in advance

 

 

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may try TOPN and UNION to add a calculated table.

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors