Reputation: 25
How can I filter in the table only the lines where the values of "Conversion Time"> "Upper Limit Express Conv"
Since "Upper Limit Express Express" is a variable that is adjusted with Date slicer
Upvotes: 0
Views: 50
Reputation: 25
This way it worked
Filter Column =
VAR Conversion Time = SELECTEDVALUE(Autentique[Conversion Time])
Return
IF(SELECTEDVALUE(Conversion Time)>[Limite Superior Conversão];"A";"B")
Upvotes: 1
Reputation: 2584
You could use a filter column to do this:
Filter Column =
VAR UpperLimit = [Upper Limit Express Conv]
RETURN IF([Conversion Time]>UpperLimit,1,0)
Once the column is created you can simply use it in the filter pane and filter for either 1 or 0 depending on your needs. Hope this helps.
Edit:
Since the column [Conversion Time] is also not readily available, you can try passing that into a variable:
Filter Column =
VAR UpperLimit = [Upper Limit Express Conv]
VAR ConvTime = DATEDIFF([Activities.Novo],[Signed_At],DAY)
RETURN IF(ConvTime>UpperLimit,1,0)
Upvotes: 0