Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
@THENNA_41 , 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))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
23 | |
21 | |
15 | |
15 |
User | Count |
---|---|
45 | |
31 | |
30 | |
18 | |
17 |