Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
HI All,
i need the vaue which is repeating in the column.
Ex: from the below example Using DAX need to get the Value "5" for 2019 and Value "10" for 2018
Please let me know if you need more details on this.
REgards.
Solved! Go to Solution.
Hi @Anonymous
If I understand correctly you want the value with the highest number of appearances. If so,
1. Place Table1[Year] in the rows of a table visual
2. Place this measure in the visual:
Measure =
VAR AuxTable_ =
ADDCOLUMNS (
DISTINCT ( Table1[Value] ),
"CountCol", CALCULATE ( COUNT ( Table1[Value] ) )
)
VAR MaxAppearances_ =
MAXX ( AuxTable_, [CountCol] )
RETURN
SUMX ( AuxTable_, IF ( [CountCol] = MaxAppearances_, [Value], 0 ) )
Please mark the question solved when we get to the solution and consider kudoing if posts are helpful.
Cheers ![]()
Thanks. Year is alfready in Rows, could not follow, it will be great if you could share the Pbix fie,
REgards,
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 61 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 107 | |
| 39 | |
| 30 | |
| 26 |