Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I have a problem ordering a column, because son elements have different Ids, This is an example
Column | id |
A | 1 |
A | 2 |
A | 1 |
B | 3 |
C | 4 |
D | 5 |
E | 6 |
E | 7 |
I expect this Order
Column | id |
A | 1 |
B | 3 |
C | 4 |
D | 5 |
E | 6 |
How could do This ?
Solved! Go to Solution.
Hi , @MiguelSaldana77
You can try to create a calculate table as below:
Soultion1 = SUMMARIZE('Table','Table'[Column ],"Id",MIN('Table'[id]))
You also can create a calculate column :
Soultion2 = CALCULATE(MIN('Table'[id]),FILTER('Table','Table'[Column ]=EARLIER('Table'[Column ])))
Here is a sample .
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , @MiguelSaldana77
You can try to create a calculate table as below:
Soultion1 = SUMMARIZE('Table','Table'[Column ],"Id",MIN('Table'[id]))
You also can create a calculate column :
Soultion2 = CALCULATE(MIN('Table'[id]),FILTER('Table','Table'[Column ]=EARLIER('Table'[Column ])))
Here is a sample .
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@MiguelSaldana77 , In case you are looking for a new column as a sort column
sort column = minx(filter(Table,[Column] =earlier([Column])),[id])
Hi @MiguelSaldana77 ,
Create a measure like below:
Measure 5 = MIN(your_table[id])
Then put the "column" and Measure in the table.
Please try.
Aiolos Zhao
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |