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.
Hi all,
I have a table [Opportunity History] that looks like this and I have independent date table 'Calendar'. How do I create a measure that return the last stage at each month end (with a month slicer).
The desire result will be
1. If I select Feb 2017 in the slicer, return
2. If I select Dec 2017 in the slicer, return Quotation
3. If I select Mar 2018 in the slicer, return Lost - Abandoned
The measure that I wrote doesn't work
Stage EOM = CALCULATE(MAX([Stage]), FILTER('Opportunity History', 'Opportunity History'[Date Time] <= MAX('Calendar'[This Month End])))
Thanks!
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
You may download my PBI file from here.
Hope this helps.
Stage EOM = CALCULATE(MAX([Stage]), FILTER(all('Opportunity History'), 'Opportunity History'[Date Time] <= MAX('Calendar'[This Month End])))
Try All. Also I think it should be = not <=
@Penn Following might help you
https://community.powerbi.com/t5/Desktop/Dax-Top-1-Top-2-with-filter-selection/td-p/384302
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 |
---|---|
113 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |