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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.