Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need help, I am trying to figure out how to write a True/False DAX expression for current inventory.
Something like this
Current inventory = Ship Date is not blank
Retail Date is blank
But im not quite sure how to tie those together.
Solved! Go to Solution.
hi @Anonymous
the screenshot suggests you are adding a custom column in Power Query, while the code above is for a calculated column with DAX.
Its giving me an error code.
I would need the [SHIP DATE] to not be blank though it has to have a date value, the [RETAIL DATE] would be blank for true and not blank for false
hi @Anonymous
the screenshot suggests you are adding a custom column in Power Query, while the code above is for a calculated column with DAX.
hi @Anonymous
could you elaborate this logic?
Here is a snippet of a few of the columns i have and each row represents 1 unit of our product.
I need a calculated column that will take the ship date and retail date and give me a true/false value
where true would = Not blank or null in [SHIP DATE] and Blank or null in [RETAIL DATE]
False would be = Not blank or null in [SHIP DATE] but blank or null in [RETAIL DATE]
SHIP DATE | AGE | RETAIL DATE | EXTERIOR DECOR | INTERIOR DECOR | ONLINE DATE | OFFLINE DATE |
hi @Anonymous
try like:
Column =
IF(
[SHIP DATE]<>BLANK()&&[RETAIL DATE]=BLANK(),
"TRUE", "FALSE"
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
38 | |
26 | |
20 | |
15 | |
8 |
User | Count |
---|---|
69 | |
47 | |
46 | |
20 | |
16 |