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.
Hi,
Im trying to create a bar chart visual giving me a count of all projects in the previous year from the month shown in the graph.
So using year in the Axis and the month in the Legend.
I have created the following but obvisouly it gives me the same figure as i have specified today, i cant seem to get what i need no matter what i do!
Solved! Go to Solution.
@the606 , You are trying to plot against time so it should change every month
Moving Annual = CALCULATE([Order Count], DATESINPERIOD('Date'[Date], max(Order[Date]), -12, month))
or
Moving Annual = CALCULATE([Order Count], DATESINPERIOD('Date'[Date], max(Date[Date]), -12, month))
@the606 , You are trying to plot against time so it should change every month
Moving Annual = CALCULATE([Order Count], DATESINPERIOD('Date'[Date], max(Order[Date]), -12, month))
or
Moving Annual = CALCULATE([Order Count], DATESINPERIOD('Date'[Date], max(Date[Date]), -12, month))
Wonderful! thanks so much, i was really struggling with this.
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 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |