Forum Discussion
ngct1112
5 years agoPost Patron
DAX - Most Frequent value
Hi, I would like to find the most frequenct value(most repeated times) by DAX. May I know is it possible? Original Table Item ID user 1 1 Peter 1 2 Peter 1 3 Alex 1 4...
- 5 years ago
Hi,
To your Table visual, drag the Item field and write these mesures
User count = counta(Data[User])
Most frequency = FIRSTNONBLANK(TOPN(1,VALUES(Data[User]),[User count]),1)
Drag the second measure to your visual.
ngct1112
5 years agoPost Patron
Ashish_Mathur Thanks Ashish, it works fine in my model. Appreciated.
Ashish_Mathur
5 years agoSuper User
You are welcome. If my previous reply helped, please mark that as Answer.