Forum Discussion
DAX - Most Frequent value
- 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.
Hi,
How can I get the number (how many times repeated the most frequent value).
I'd like to display it in a card.
Thanks
Hi,
Write the formula suggested in my message. If t does not work, then share some data to work with, explain the question and show the expected result.
- Khaled20232 years agoFrequent Visitor
Hi, apprecaite your feedback.
It works and give me the value "Name of most frequent client", but I need how many time this client name repeated, for example 10 times. I need it as measure not column nor table.
Thanks
- Ashish_Mathur2 years agoSuper User
Hi,
Drag client to the visual and write this measure
Count = countrows(Data)
Hope this helps.