Hi.
New to Power Automate and have a Power BI PDF export to SharePoint cloud flow I'm working on. Last bit I can't seem to overcome is getting the year and month values for the prior month in a function for the file name. So, I'm after:
Goal progress as of [month name of prior month], [year of last day of prior month].pdf
I can get the month with getPastTime(1,'month','MMMM'), but I'm having trouble working out how to get the YYYY value from the last day of the prior month.
Thanks a lot for any pushes you can give!