Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Details are provided below as to what we currently have in place. What I need to do is enhance the "Actual Prmeium With Time Designator" field so that if the date is in the future "Today + 1 Day" it pulls from a field called "Projected Premium". The "Projected Premium" field sits in a table called "mv_perfex".
I have a working column called "90 Day Date Designator" with the following formula:
IF(DATEDIFF(mv_perfex[startdate],TODAY(),DAY)>0&&DATEDIFF(mv_perfex[startdate],TODAY(),DAY)<=90,"True","False")
Solved! Go to Solution.
@krichmond , Based on what I got. A new column
SWITCH(TRUE(),
mv_perfex[startdate] > today() , [Projected Premium]
[90 Day Date Designator]="True",[Projected Average Buy]*[Projected Paid Responders],
[180 Day Date Designator]="True",mv_perfex[Prem @100%],
[180 Day Date Designator]="False",mv_perfex[Act_Prem])
Hi @krichmond ,
Here I suggest you to try this measure.
Actual Premium With Time Designator =
VAR _DATEDIFF =
DATEDIFF ( mv_perfex[startdate], TODAY (), DAY )
RETURN
SWITCH (
TRUE (),
_DATEDIFF = 1, [Projected Premium],
_DATEDIFF > 1
&& _DATEDIFF <= 90, [Projected Average Buy] * [Projected Paid Responders],
_DATEDIFF > 90
&& _DATEDIFF <= 180, mv_perfex[Prem @100%],
mv_perfex[Act_Prem]
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@krichmond , Based on what I got. A new column
SWITCH(TRUE(),
mv_perfex[startdate] > today() , [Projected Premium]
[90 Day Date Designator]="True",[Projected Average Buy]*[Projected Paid Responders],
[180 Day Date Designator]="True",mv_perfex[Prem @100%],
[180 Day Date Designator]="False",mv_perfex[Act_Prem])
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |