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 the below table
I want to display bar graph that has the cumulative sum of Panels for a week. Then after the week it refreshes starts again for the next week. We are using Date completed column to figure out the week.
For eg.
week 1:
1st nov - 10 panels are produced
2nd nov - 10 panels are produced (the bar graph would have 20 panels for 2nd nov)
3rd nov - 10 panels are produced (the bar graph would have 30 panels for 3rd nov)
...
Example for the graph
Solved! Go to Solution.
Hi @Saaharjit
Try adding this Calculated Column
Cumulative_Panels = SUMX ( FILTER ( TableName, WEEKNUM ( TableName[Date_Completed] ) = WEEKNUM ( EARLIER ( TableName[Date_Completed] ) ) && TableName[Date_Completed] <= EARLIER ( TableName[Date_Completed] ) ), TableName[Panels] )
HI @Saaharjit
Use WEEKDAY(TableName[DateColumn],2).
It will start your week from Monday
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |