I would like dax to calculate YTD based on SelectedValue of Year Month Slicer. I need to show Current Period, YTD and Full Current Year in three different matrices.
I am implementing Calc Groups to reduce plethora of measures from being created.
Users need a slicer to dynamically switch Calc Groups of Current Period, YTD and Full Year.
So when Year Month 2020-P10(October) is Selected then I need YTD to calculate from Jan to Oct of 2020.
Similarly when Year Month 2019-October is Selected then I need YTD to calculate from Jan to Oct of 2019.
Hi @Archer, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.
Use the forum search to discover if your query has been asked before by another member.
When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.
Use the proper category that best describes your topic
Provide as much context to a question as possible.
Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.