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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dlmsbi
Frequent Visitor

sort by coloumn

Hi All,

I have a question about the next problem:

I am try to sort the rows with different coloumn.The problem is i have same word in the coloumn and two different number in the other coloumn.
Normally i know if i try to sort i'm going to get fault message.
Because is as i know it impossible.

 

 

 

Képkivágás.PNG

The second coloumn sort by third is no problem.

The problem is the last two coloumn. Because example szint2= X  szint2_no= 2 or 1

Somebody know a different way?

 

Thanks.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@dlmsbi , You need to have a column with only one value for szint2

create a new column and use that

Sort col = minx(filter(Table, [szint2] = earlier([szint2])),szint2_no)

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

View solution in original post

3 REPLIES 3
dlmsbi
Frequent Visitor

The result is not bad but not like what i need. (Thanks 🙂)

I need leave alone the [szint2_no] and use the short by coloumn function on [szint2]

 

dlmsbi_1-1623850254174.png

 

For full pictures: The problem starting a path hierarchie and after i get back the names with lookupvalue and i have a coloumn with order_no. There i have 2 and 1. This is the reason why i can't ordering the "Negyedik szint"

dlmsbi_2-1623850720971.png

 

 

 

dlmsbi
Frequent Visitor

Thanks I'll try

 

amitchandak
Super User
Super User

@dlmsbi , You need to have a column with only one value for szint2

create a new column and use that

Sort col = minx(filter(Table, [szint2] = earlier([szint2])),szint2_no)

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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