Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
User | Count |
---|---|
65 | |
60 | |
47 | |
33 | |
32 |
User | Count |
---|---|
86 | |
75 | |
56 | |
50 | |
45 |