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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.