Forum Discussion
Table visual sort order based on date column not displayed
- 5 years ago
Hi, lutho
It’s my pleasure to answer for you.
According to your description, I think you can use 'sort bu column' function in result column.
Like this:
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 5 years ago
Hi, lutho
I think you need to classify the name of the same exam, for example science71, science72, so that there will be no errors.
Best Regards
Janey Guo
Hi Janey - that confirms why the column was not available for selection.
The table visual has only 1 column - recent history of exam results.
The DAX query is fairly simple (I am still getting my head around the ins and outs of Power BI):
Hi, lutho
If you use a measure, then you put only one measure in table visual,it will only display one value instead of a list of values.
Are SYN_AssessmentResults[Description],SYN_AssessmentResults[AssessmentResult] and SYN_AssessmentResults[Year] all measures?
Best Regards
Janey Guo
- v-janeyg-msft5 years agoCommunity Support
Hi, lutho
I think you are a little confused about the difference of measure and column. The measure changes with the context.
But no matter what, if you only want to put one column of values on table visual and sort by date, the measure can't be done, you should use column.
Best Regards
Janey Guo
- lutho5 years agoHelper II
Hi Janey, the 3 fields used in the measure are all proper table columns. Given this scenario is the best approach for me to create a calculated column for the "Exam Display Result"?
Warm regards, Lex
- lutho5 years agoHelper II
Janey,
Thank you for everything.
All the best,
Lex
- lutho5 years agoHelper II
Hi Janes, I have run into an additional challenge. The method provided works as long as the data set I am trying to order/display does not contain duplicates. I even created a unique displaysortorder field across all exams. Unfortunately students sometimes get the same exam result - resulting in an error message that there are the same values for 2 different displaysortorder values. It seems illogical that PBI is enforcing this constraint. Thoughts?