sort formula
3 TopicsSorting DAX measure of Current Year Actual net sales
Hello, I have created the below DAX measure, where I am calculating current year net sales at Prior Year Rate for some products. CY Actual Net Sales at PY = CALCULATE([CY Actual at PY], 'Report Line'[Report_Line_Parent]="Net Sales"). Is it possible with a DAX measure to create the top 5 of the above with descending order? Of course, values should be dynamic based on user`s selection of country and quarter, which are done through slicers. I know that it is possible to do sorting within a visual, but since i want to sort the visual also per year, i would like to have already sorted the top 5 products with descending order from a DAX measure. Thank you in advance.Solved439Views0likes1CommentSort Month Year Column Dax
I have a custom column: Month Year = FORMAT('DimDate'[Date],"MMM YYYY") Is there a way to sort this column other than the "Sort by Column" tab in the ribbon? i.e. is there a DAX formula I can use like I would for weekday Day of the Week Sort = WEEKDAY([DATE_START],2)Solved992Views0likes1CommentDax formula to calculate % Change, and then Conditional Formatting of that result
This is sort of a compound problem: I have a data table that contains the vacancy by geography and time period. I have a matrix visualization that shows that vacancy in two time periods. I would like to calculate the % change between only those two time periods, and then apply background conditional formatting to only the 2020.06 column of a color range of highest to lowest, and sort the table by the % change of highest to lowest. The two time periods: 2019.06 and 2020.06 % Change = (The vacancy of 2020.06 - the vacancy of 2019.06) / (the vacancy of 2020.06) This is the matrix table.979Views0likes3Comments