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.
I am trying to Create a new column called week based on below logic
Sample Data:
trail_id lead_date
626238 01-08-2021
626231 02-08-2021
626232 03-08-2021
646067 04-08-2021
644770 05-08-2021
--
--
643468 31-08-2021
My Measure :
looking for support .. thanks in advance
Solved! Go to Solution.
Hi!
You can try create calc column
SWITHC(TRUE(),
DAY([lead_date]) <= 7, "Week 1",
DAY([lead_date]) <= 14, "Week 2",
DAY([lead_date]) <= 21, "Week 3",
"Week 4"
)
Hi!
You can try create calc column
SWITHC(TRUE(),
DAY([lead_date]) <= 7, "Week 1",
DAY([lead_date]) <= 14, "Week 2",
DAY([lead_date]) <= 21, "Week 3",
"Week 4"
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |