Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
i am rather new to PowerBI. After reading in this forum for a bit i created a measure for the rolling 12 months as followed:
Solved! Go to Solution.
@MB2746 Assuming you have some kind of measure that you are using in the visual, create the following measure and use it in your visual instead:
Measure =
VAR __Start = [Start Date]
VAR __End = [End Date]
VAR __Value = [Your Current Measure]
VAR __Date = MAX('Table'[Date])
VAR __Result = IF( __Date >= __Start && __Date <= __End, __Value, BLANK())
RETURN
__Result
Hi @Greg_Deckler ,
sadly i lost the access to the other account and cant mark your answer as solution. But thank you very much for the answer.
What i did in the meantime was to create a table with the name helptable by summarizing the products and the measures Startdate and EndDate as columns.
Then i created the measure:
Afterwards i used this in the visual as filter to only show the months that I need. With this i can also see empty months by using the calendar table as x-axis.
@MB2746 Assuming you have some kind of measure that you are using in the visual, create the following measure and use it in your visual instead:
Measure =
VAR __Start = [Start Date]
VAR __End = [End Date]
VAR __Value = [Your Current Measure]
VAR __Date = MAX('Table'[Date])
VAR __Result = IF( __Date >= __Start && __Date <= __End, __Value, BLANK())
RETURN
__Result
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |