Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello there,
i have a Slicer of Monthname where the User can choose more than one Month. i am searching for a Dax- Formula where the Measure returns the Max of the choosen Months.
for example: if MonthName Slicer got Jan, Feb and Mar as selected Values... Mar should be the Result
i tried already a Measure with MonthNumbers but with MonthName the Result is not the Same...
https://www.dropbox.com/s/9nqmwxxw7ezckc1/sample.pbix?dl=0
Solved! Go to Solution.
Hey @corp_scorp,
You could try this measure:
Max Month Number of selected Values =
VAR _max_month_number =
MAX ( 'Date'[MonthNumber] )
RETURN
CALCULATE (
SELECTEDVALUE ( 'Date'[MonthName] ),
'Date'[MonthNumber] = _max_month_number
)
Hey @corp_scorp,
You could try this measure:
Max Month Number of selected Values =
VAR _max_month_number =
MAX ( 'Date'[MonthNumber] )
RETURN
CALCULATE (
SELECTEDVALUE ( 'Date'[MonthName] ),
'Date'[MonthNumber] = _max_month_number
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
106 | |
104 | |
85 | |
73 |