Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all!
I have a table that contains weekly extracts / snapshots of transactional data:
Year-Week Snapshot | Article | Date | Value |
2023-01 | A | 01.01.2023 | 60 |
2023-02 | B | 15.02.2023 | 50 |
This table is linked to a simple calendar table.
Then this data is visualized in a simple bar chart with an aggregation on a monthly level.
Now I would like to check the changes vs the previous snapshot.
How would you do that?
@joshua1990 , Create a table with only Week snapshot or have that in date table
Create a Rank on the snapshot in the new table or date table
Week Rank = RANKX('Date','Date'[Year Week Snapshot],,ASC,Dense) //YYYYWW format
Then you can compare
This Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
Last Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])-1))
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |