Forum Discussion
pbiforum123
Post Patron
3 years agoBottom N
I am using the below DAX to get the Top value, I don't see any function called BOTTOMN to get the last value and also in the below DAX if I use ASC instead then also it is not worrking. Please help m...
VijayP
Community Champion
3 years agoif you use ASC , it should work it works for me, try again.
My formula:
Bottom N Branches =
CALCULATE([Selected Item],
TOPN(5,
ALL(Branch[Branch]),[Total Profit],ASC),
DISTINCT(Branch[Branch]))
pbiforum123
Post Patron
3 years agoVijayP ok thanks will check and let you know... [Selected Item]??? What is this? I did not understand that to replicate in my pbix.