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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Sorting Financial Templates with blank rows

Does anyone know how i can sort my financial template with blanks in the format i like? I've tried to sort the other columns in the order of the index numbers but an error message pops up. Capture1.PNG

 

Capture2.PNG

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

@Anonymous ,

 

As the error message mentions, there's duplicate values in [P&L Items] column for the same value in [Index] column, you should remove the duplicate values in [P&L Items] firstly.

 

Regards,

Jimmy Tao

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

As the error message mentions, there's duplicate values in [P&L Items] column for the same value in [Index] column, you should remove the duplicate values in [P&L Items] firstly.

 

Regards,

Jimmy Tao

amitchandak
Super User
Super User

@Anonymous . Sort by column also needs to have the same granularity. Means one on one value. Else it will not work

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

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

Hi @amitchandak, thanks for your response. 

 

I have referred to a guide by EnterpriseDNA at this link: https://blog.enterprisedna.co/how-to-allocate-results-to-templates-at-every-single-row-using-power-b...

Do you have any idea why it seems to be able to work for the example shown but not for my model? I have used a similar financial template created in Excel as well.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.