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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I have the following DAX Calculated column formula which isn't executing correctly
| DaysUntilExpiry | DaysUntilExpiry_PreviousMonth |
| -2 | 1 |
| -102 | 2 |
| -5 | -10 |
| DaysUntilExpiry | DaysUntilExpiry_PreviousMonth | CheckStatus |
| -2 | 1 | Check Product |
| -102 | -1 | |
| -5 | -10 |
Solved! Go to Solution.
Answer
CheckStatus =
IF (
'Data'[DaysUntilExpiry] >-100
&& 'Data'[DaysUntilExpiry]<=0
&&
(
'Data'[DaysUntilExpiry_PreviousMonth] <-100
|| 'Data'[DaysUntilExpiry_PreviousMonth] > 0
),
"Check Product"
)
Answer
CheckStatus =
IF (
'Data'[DaysUntilExpiry] >-100
&& 'Data'[DaysUntilExpiry]<=0
&&
(
'Data'[DaysUntilExpiry_PreviousMonth] <-100
|| 'Data'[DaysUntilExpiry_PreviousMonth] > 0
),
"Check Product"
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |