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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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