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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.