Hello,
My end goal is to create a sortby column as shown here. (so that I can sort [school] by ... [sortby])
I need the formula for the "sortby" calculated column.
For named "Years"
It should be something like: =MIN(Years[grade])
where years[school] = years[school] OF THIS ROW. <=???
Thanks!
Alex
*in powerbi i get this error if I use [grade] for the sort by column
Sort By Another Column Error
We cannot sort the 'school' column by 'grade'. You can't have more than one value in 'grade' for the same value in 'school'. Choose a different column for sorting or update the data in 'Year'.
My end goal is to create a sortby column as shown here. (so that I can sort [school] by ... [sortby])
I need the formula for the "sortby" calculated column.
For named "Years"
It should be something like: =MIN(Years[grade])
where years[school] = years[school] OF THIS ROW. <=???

Thanks!
Alex
*in powerbi i get this error if I use [grade] for the sort by column
Sort By Another Column Error
We cannot sort the 'school' column by 'grade'. You can't have more than one value in 'grade' for the same value in 'school'. Choose a different column for sorting or update the data in 'Year'.