Andrej Lapajne, CEO of Zebra BI and creator of Power BI visualizations you can license (free trials available), shows how to use DAX to make measures smarter by including YTD and LY calculations in the same measure. In tandem, he creates disconnected tables that identify which measure is being displayed and uses that within the measure. It prevents the need for separate visualizations to handle the various calculations, and also prevents hiding/showing using buttons and bookmarks. This is something to consider to simplify data models and report pages.