Forum Discussion

DataNinja777's avatar
DataNinja777
Icon for Super User rankSuper User
2 years ago

Variance commentary using contanatenteX sorting large to small balance commentaries

Hi Power BI Community,

 

I am trying to automate my variance analysis commentary, and I'd greatly appreciate it if you could let me know how I can rank the variance comments by the measure [Stock value variance] by the Material code.  I think it will be using RankX or something similar to that, but I cannot think of quickly how to incorporate RankX in the below code. 

Thank you for your help!