Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
My Prior Week Calculation is working fine... until I bring segments in.
This is my dax:
Solved! Go to Solution.
Hi @Tihannah,
I've tried recreating your use case usnig my dummy data and it seems that your segment table doesn't have a relationship with your fact/sales table. You can see in the screenshot below that prior week is split into segments
Without the relationship, you'll see equal amounts for each segment by week.
Please see attached pbix for your reference.
Hi @Tihannah,
I've tried recreating your use case usnig my dummy data and it seems that your segment table doesn't have a relationship with your fact/sales table. You can see in the screenshot below that prior week is split into segments
Without the relationship, you'll see equal amounts for each segment by week.
Please see attached pbix for your reference.
My segment table did have a relationship to the fact table, but the attached file helped me figure out where I was going wrong with the week columns and my dax, so thank you!