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.
I wonder if anyone can help......
I have a table:
| Date | Month | AP | Index |
| 01 April 2018 | 4 | AP 1 | 0 |
| 01 May 2018 | 5 | AP 2 | 1 |
| 01 June 2018 | 6 | AP 3 | 2 |
| 01 July 2018 | 7 | AP 4 | 3 |
| 01 August 2018 | 8 | AP 5 | 4 |
| 01 September 2018 | 9 | AP 6 | 5 |
| 01 October 2018 | 10 | AP 7 | 6 |
| 01 November 2018 | 11 | AP 8 | 7 |
| 01 December 2018 | 12 | AP 9 | 8 |
| 01 January 2019 | 1 | AP 10 | 9 |
| 01 February 2019 | 2 | AP 11 | 10 |
| 01 March 2019 | 3 | AP 12 | 11 |
I have a measure in a different table:
Latest Date = MAX('Actuals Data'[Date])
The above measure gives me the date: 1/9/18
What i need is to be able to extract the corresponding 'AP' - in this case it would be 'AP 6'
I will then be using this as a heading in a multi-row card as a title
Thanks for any help
Solved! Go to Solution.
Hi,
="AP "&IF(MONTH([Latest Date])<4,MONTH([Latest Date])+9,MONTH([Latest Date])-3)
Hi,
="AP "&IF(MONTH([Latest Date])<4,MONTH([Latest Date])+9,MONTH([Latest Date])-3)
many thanks
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |