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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
iBusinessBI
Kudo Collector
Kudo Collector

Sort by Column sends error for rows with BLANK() values / Spaces

I want my P&L Report to contain blank rows.

When I inport this table to the model and try to sort the "PL Title" column by the "Order" column, it shows error for duplicate values in the "PL Title". I understand, they are blank rows with different order. I tried to enter different spaces, also I tried to use 

non-printable spaces

Text.Repeat(Character.FromNumber(0032),[Index])

Still no luck.

Please help

 

iBusinessBI_0-1682067420743.png

iBusinessBI_1-1682067466450.png

 

 

1 ACCEPTED SOLUTION
iBusinessBI
Kudo Collector
Kudo Collector

Ok, I've found a solution.
I've repeated non-breaking spaces different times for different rows and it works.

Text.Repeat("#(00A0)",[Index])

View solution in original post

1 REPLY 1
iBusinessBI
Kudo Collector
Kudo Collector

Ok, I've found a solution.
I've repeated non-breaking spaces different times for different rows and it works.

Text.Repeat("#(00A0)",[Index])

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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