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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to duplicate rowa for to repeat the same information each month

Hallo Everyone,

 

I have this table 

 
 

image.png

 

I would like to have something like that but for 12 months of the year. 

 

 

image.png

 

Is there an easy way to do it directly in power BI Query or other ways?  

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

HI, @Anonymous 

Please try follow steps:
1.duplicate a new table"Table(2)",then add following formula to the original query  to get a  cunstom function

 

(Monthnumber as number)=>

 

 

22.png

 

2. create a  blank query to generate a  list, then convert this list to table (using as new column of "Month")

 

={1..12}

 

 

24.png

 

3.invoke custom function"Table(2)" 

25.png
4. rename  column's name and expand table column you want

26.png

The result will show as below:

29.png

For more details,please check attached pbix file.

 

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

 

 

View solution in original post

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

HI, @Anonymous 

Please try follow steps:
1.duplicate a new table"Table(2)",then add following formula to the original query  to get a  cunstom function

 

(Monthnumber as number)=>

 

 

22.png

 

2. create a  blank query to generate a  list, then convert this list to table (using as new column of "Month")

 

={1..12}

 

 

24.png

 

3.invoke custom function"Table(2)" 

25.png
4. rename  column's name and expand table column you want

26.png

The result will show as below:

29.png

For more details,please check attached pbix file.

 

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

 

 

amitchandak
Super User
Super User

@Anonymous , unless P have 4 different values. You will not get 4 rows.  Matrix should able to disply this ?

 

You can add an index column in power bi and add that here

https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

The P column should have the same value as it is for the same reference. 

 

But in case in was not possible to do it so. Could you please share with me the situation if P column was removed from the table?

@Anonymous , I am not sure what you asked in last update. But if you want data not to be grouped. Then add an index column suggested in last update and add that to matrix

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors