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! It's time to submit your entry. Live now!
Hi All,
I am getting the DAX error "Expressions that yield variant data-type cannot be used to define calculated columns."
The formula I have used is given below:
Solved! Go to Solution.
@Anonymous , Try like
Safety Stock and Safety Time Alignment = IF('Master Data Hygiene (2)'[Buffer Profile]="NB",blank(),
IF(OR(1*'Master Data Hygiene (2)'[Safety Stock]> (1 *'Master Data Hygiene (2)'[Red Zone Quantity]),(1*'Master Data Hygiene (2)'[Safety Time])>(1*'Master Data Hygiene (2)'[Red Zone Days])),0,1))
@Anonymous , Try like
Safety Stock and Safety Time Alignment = IF('Master Data Hygiene (2)'[Buffer Profile]="NB",blank(),
IF(OR(1*'Master Data Hygiene (2)'[Safety Stock]> (1 *'Master Data Hygiene (2)'[Red Zone Quantity]),(1*'Master Data Hygiene (2)'[Safety Time])>(1*'Master Data Hygiene (2)'[Red Zone Days])),0,1))
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |