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 want to get an average of three months from next month to three months ahead.
I could not do it well with new columns and measures.
I do not know how to specify range for 3 months.
Please help me please.
Solved! Go to Solution.
@Eiji77 ,
You may try the measure below.
Measure = VAR m = MAX ( Table1[Year-Month] ) RETURN AVERAGEX ( FILTER ( ALL ( Table1[Year-Month] ), DATEDIFF ( m, Table1[Year-Month], MONTH ) IN { 1, 2, 3 } ), CALCULATE ( SUM ( Table1[value] ) ) )
@Eiji77 ,
You may try the measure below.
Measure = VAR m = MAX ( Table1[Year-Month] ) RETURN AVERAGEX ( FILTER ( ALL ( Table1[Year-Month] ), DATEDIFF ( m, Table1[Year-Month], MONTH ) IN { 1, 2, 3 } ), CALCULATE ( SUM ( Table1[value] ) ) )
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 |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |