Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Icon for Administrator rankAdministrator
3 years ago

Can I create a measure that returns a specified date range? help I'm new using PBI,

I have a job in pbi where based on the maximum date of the context I must generate 8 months ahead and make some estimates using the data of the selected range of dechas. I made a separate calendar to use it in the second matrix q is generated from the maximum date, the problem is q grabs the maximum date of the main calendar and not the max date of the q context is the q I need.

2 Replies

    • Syndicate_Admin's avatar
      Syndicate_Admin
      Icon for Administrator rankAdministrator

      In this case it does not work for me, I think the dates are created from a maximum date of a slicer that I have and from that date generate 8 more months, do not enter them directly into dax. If you can see in the image the second inica matrix in April this is due to xq the maximum date of the data is April and what I want is q start from February 2021 q is the following month after 01/01/2021 the max date of the slice. And if the slicer changes date max, the second matrix trambien must start one month after the slicer.