Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi @ahmoh43
Thanks for the solution @MFelix provided, and i want to offer some information for you to refer to.
Sample data
Create a measure.
MEASURE =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLSELECTED ( 'Table' ),
'Table'[WeekNo] <= MAX ( 'Table'[WeekNo] )
)
Then put the the measure to the y-axis.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ahmoh43
Thanks for the solution @MFelix provided, and i want to offer some information for you to refer to.
Sample data
Create a measure.
MEASURE =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLSELECTED ( 'Table' ),
'Table'[WeekNo] <= MAX ( 'Table'[WeekNo] )
)
Then put the the measure to the y-axis.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ahmoh43,
For this you need to create a cummulative measure that will allow to have the calculation for each week.
You can do a measure similar to this one:
Weekly Cumulative = CALCULATE (SUM(Table[Column]), Table[Week] >= MAX(Table[Week]))
Be aware that I'm assuming that you are only selecting a specific year for the visualization of the chart.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
68 | |
64 | |
27 | |
18 | |
13 |