Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello,
I have a column [promotionStatus] indicating for each day ([Date]) whether a product ([EAN])is on promotion or not.
I now want to create a measure with [promoStatus] value of the previous day, so I can then flag when the promotion status of an EAN has changed.
For this, I have created this measure:
Expected outcome would be for August 7th to have Table[promotionStatus]="on promotion" and 'Promo Status previous day' = "not on promotion"
Any idea on what is leading to this beavior and how to fix it?
Many thanks!
Hi @Uspace87 ,
thanks for the quick reply.
[Date] is part of the same table as [promotionStatus] and [EAN].
I created a date table and linked it to DIM table, but now the "Promo Status previous day" measure either produces an empty table or, if I create it as calculated column instead of measure, an empty column.
if you have already a Dim Date Table just link the DateKey to Date into your Fact table.
Check if the dates are correctly formatted in both tables. It should work
For me is working:
@Uspace87
When I use Date and Dim tabel with established connection on date key, no rows are skipped. However, the measure is not giving output as expected (see below). I have not changed the measure, other than referencing Date tabel in DATEADD part of the measure.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 75 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |