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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All
Hoping you can help me
please
i have some a dax code that give me the maxx code which i put in a card
max_val = maxx(dimtable[date],[%Handled])
i neee to also get the date the max_val is but cant seem to figure out how i get the corresponding date
Solved! Go to Solution.
@Mahmed1 Try:
max_val_date =
VAR __maxVal = [max_val]
VAR __Table = FILTER(ALL('dimtable'), [%Handled] = __maxVal)
VAR __Result = MAXX(__Table,[date])
RETURN
__Result
@Greg_Deckler Thank you - ill give that a go
i was trying to find a way of getting a table from selected visual
thank you once again
@Mahmed1 Try:
max_val_date =
VAR __maxVal = [max_val]
VAR __Table = FILTER(ALL('dimtable'), [%Handled] = __maxVal)
VAR __Result = MAXX(__Table,[date])
RETURN
__Result
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 19 | |
| 19 | |
| 15 | |
| 9 |