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.
i have table uptime and mint averger
uptime :
previous month uptime avg this value keep after selection months after three it will increase +1 next months
@amitchandak i have shared files . any update . it will really helpful for me if it work ..thank you bro in advance
IN chart there is two type value uptime previous month and uptime next . i am using line graph for yellow value
suppose i choose week in slicer outbound25-06-2021 ,previous three be like below
standdard calculation
Yellow color value
March 63.9 * 0.2 = 12.78
April 65.1 * 0.3 = 19.53
May 65.7 * 0.5 = 32.85
avarge = 65.16
Avaerge should common for first three month in blue colour july,August,September,
after that next three month averge increase by +1 and last december increase +2
Thanks in advance
@Anonymous , Not very clear. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
You can use measure like these with help from date table
last 3 month allocated value
CALCULATE([Uptime]*.5,DATESMTD(dateadd('Date'[Date],-1,MONTH)))+
CALCULATE([Uptime]*.3,DATESMTD(dateadd('Date'[Date],-2,MONTH)))+
CALCULATE([Uptime]*.2,DATESMTD(dateadd('Date'[Date],-3,MONTH)))
Rolling 3 Avg = CALCULATE(averageX('Date'[Month Year],[Uptime]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-12,MONTH))
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |