Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I have kept the Month name in the slicer.
Jan
Feb
March
April
May
June
July
August
September
October
November
December
Based on user selection I need to display Max Month name and Min Month name selection in visual. Example: If the user chooses March, April, May, and October. I need to display March and October in visuals. How can we achieve this?
Solved! Go to Solution.
@Anonymous ,
YOu can see the result in below screen shot for both Min and Max column.
Syntax is incorrect:
measure =
var _max = maxx(allselected(table),table[Sequence])
return
maxx(filter(table, table[Sequence]=_max),table[Month])
@Anonymous ,
YOu can see the result in below screen shot for both Min and Max column.
I've a similar requirement where I need to filter the amount based on the MaxSelectedMonth.
Can you help me ?
Thanks for your response.
If I created the same in my power bi it is displaying a blank data even I selected in the slicer. If I select Jan, Feb, and March it needs to display Jan but it is displaying blank value.
DAX:
@Anonymous ,
I test below DAX and it is working fine for MAX month:
You need to create a month sequence .
The use that.
measure =
var _max = maxx(allselected(table),table[Sequence])
return
maxx(filter(table[Sequence]=_max),table[Month])
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 48 | |
| 35 | |
| 31 | |
| 27 |