Forum Discussion
gabrielvigo
6 years agoHelper I
Show Current and Last Week values into chart
Hi all I have a table with three fields. "week_report","week_incident_open" and "value". I need show into a bar chart a SUM(value) of the SELECTEDVALUE(week_report). When "week_incident_open" is...
amitchandak
6 years agoSuper User
gabrielvigo , Refer to my blog on week . I have used week rank to deal with it
This Week = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
Last Week = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])-1))
Refer this webinar on same : https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-YTD-LYTD-Week-Over-Week/m-p/1051626#M184