Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello fellow PBI users,
do you know the formula below in Power bi? i got so used in Tableau finding hard to replicate this in PBI
IF [SHIP_DATE] < TODAY()
THEN 'Backlog'
ELSEIF [SHIP_DATE] < TODAY() + 2
THEN 'Today'
ELSEIF [SHIP_DATE] < TODAY() + 6
THEN 'N5D'
ELSE 'Future'
END
Solved! Go to Solution.
Hi @Anonymous ,
The formula should be like this:
@Anonymous
Try this as new column in your table:
Shipment Status =
SWITCH (
TRUE (),
[SHIP_DATE] < TODAY () + 6, "N5D",
[SHIP_DATE] < TODAY () + 2, "Today",
[SHIP_DATE] < TODAY (), "Backlog",
"Future"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Anonymous ,
The formula should be like this:
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
84 | |
66 |