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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Power BI Community!
I have this very simple column =
Solved! Go to Solution.
@Anonymous , Not very clear
If timediff is column
Then you can have columns
New column =
var _diff = datediff([PO date (start delivery)] , [deliverend on date] Day)
return
Switch ( True() ,
_diff <= 5, " 0-5 Days" ,
_diff <= 15, "5-15 Days" ,
_diff <= 30, "15-30 Days" ,
"more than 30 day"
)
And use that as a filter.
If that is measure then you need dynamic Segmentation: https://www.youtube.com/watch?v=CuczXPj0N-k
@Anonymous , Not very clear
If timediff is column
Then you can have columns
New column =
var _diff = datediff([PO date (start delivery)] , [deliverend on date] Day)
return
Switch ( True() ,
_diff <= 5, " 0-5 Days" ,
_diff <= 15, "5-15 Days" ,
_diff <= 30, "15-30 Days" ,
"more than 30 day"
)
And use that as a filter.
If that is measure then you need dynamic Segmentation: https://www.youtube.com/watch?v=CuczXPj0N-k