Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have a table with a column that supplies a start date for a reopening of any given ID. In another table I have the current and historical operating data for the ID by date with key items like sales qty.
I am in need of taking the reopening date as the starting point and calculate out in 28 day (4wk) increments the sales qty in each cycle before and since the reopen date. This is to run as a comparison of how the ID has performed before and since the repopen.
Since every reopen date can be different, how can I accomplish the date variability with the incremental summing or counting?
Thanks in advance!
Hi @unknown917
As I understand, create a RelativePeriod column that groups sales into 4-week periods before and after reopening by dividing the day difference by 28.
And the Sales_4WeekPeriod measure then sums sales for each period, allowing performance comparison over time.
Thanks, @techies -
this resulted in returning all sales for the entire date range in 2nd table. I need to be able to represent the 4 week increments, based on the go -live date
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
19 | |
14 | |
14 | |
13 | |
12 |