Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I'm having trouble finding out how I can portray the mode of a text/string value using DAX.
Below is a snippet of my data.
I want to be able to show the Audit result by Division based on the frequency of the result,
E.g.
FP Division = A
P Division = A
G Division = A
Any help on this!
Thanks
Hi @Peckle,
Just trying to understand your question. Do you need to see how many times a Division received A or AA in Audit?
Seeminlgy you need the most recurring audit for each division
Try this MEASURE
Measure = VAR MaxCount = MAXX ( VALUES ( Table1[Audit] ), CALCULATE ( COUNT ( Table1[Audit] ) ) ) RETURN CONCATENATEX ( FILTER ( VALUES ( Table1[Audit] ), CALCULATE ( COUNT ( Table1[Audit] ) ) = MaxCount ), [Audit], ", " )
Thanks, this worked for me (after trying many other approaches!)
That's right. I want to display the most recurring audit for each division
Thanks I'll try this!
Hi @Peckle,
Did you resolve your issue? If so, please kindly mark the corresponding reply as an answer. It will benifit others with relevant issues. If not, please feel free to ask.
Thanks,
Xi Jin.
Thanks for reaching out!
Unfortunately, I couldn't get the second part of the syntax to return a value.
Thanks
Hi @Peckle,
=> Unfortunately, I couldn't get the second part of the syntax to return a value.
Did you get any error message? Could you please share us some screenshots about your issue if possible?
Thanks,
Xi Jin.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
78 | |
59 | |
35 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |