The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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