Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Syndicate_Admin
Administrator
Administrator

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 2
Idrissshatila
Super User
Super User

Hello @Syndicate_Admin,

 

check this video for instructions https://www.youtube.com/watch?v=MhC4zj2byBQ&t=318s

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.

elena_mejia_0-1673021799496.png

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors