Forum Discussion
How to split the rows into 12 rows
Hi Experts,
I want to split the single row into 12 rows which means 12 months in a year.
example
Result
Please help on this.
Regards.,
Swamy
- Anonymous4 years ago
Hi Anonymous ,
Suppose we have a table like this.
Add a new column in the power query editor.
Expand to New Rows.
Attached PBIX file for reference.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
7 Replies
- amitchandakSuper User
Anonymous , refer to the two blog, how to do that
Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-Convert-to/ba-p/1476400
Distributing/Allocating the Monthly Target(Convert to Daily Target): Measure ( Daily/MTD): https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Monthly-Target-Convert-to/ba-p/1657798
- AnonymousNot applicable
I want to split the each single row into 12 rows and add the month number.
Regards.,
Swamy
- amitchandakSuper User
Anonymous , Yes, That was there in blog , Easy way out
generate(Table, generateseries(1,12,1) )
Rename the value column as the month
if needed divide values by 12
- AnonymousNot applicable
Hi Anonymous ,
Suppose we have a table like this.
Add a new column in the power query editor.
Expand to New Rows.
Attached PBIX file for reference.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data