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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Sort Null value in column by another column

Hello there

 

I am using matrix visual, so I have 3 fileds in Row section.

 

Category A

Category A1

Category A1.1

Category A1.2

Category A2

Category A2.1

Category A2.2

 

Category B

Category B1

Category B1.1

Category B1.2

Category B2

Category B2.1

Category B2.2 and so on like 10 Categories total.

 

 

Now Category A, B, C etc can't be empty, But Category A1, A2, B1, B2 can be empty.. Category A1.1 A1.2 B1.1 B1.2 etc can never be empty. 

 

 

Now the problem is when A1 A2 B1 B2 etc are empty but their sub catering are not empty. I can't sort them in order.

 

 

when I try to sort my 2nd category column by 3rd category coulumn, it doesn't allow me to sort any data because 2nd Category have many null values but 3rd category have no nulls. So when I sort it, it gives the error "2nd category can't be sorted by 3rd, because 3rd Category can't have multiple values for same value of 2nd Category"... 

 

So question is, how can I sort null values of one column bases on values of other column... Against every null value, there is a difference value in other column... Please help

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

Please share some dummy data with raw table structure and expected results to help us clarify your scenario:

How to Get Your Question Answered Quickly 

Regards,
Xiaoxin Sheng

Anonymous
Not applicable

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.