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
I have this table
I need to write a DAX that finds Admit Status of 'N' or 'E'
Then it need to modify FAYEAR to get the left two characters and change that to 202110
So it would be "20" & Left(FAYEAR,2) & "10" newvalue
So then it would (Admit Status of 'N' or 'E') and "20" & Left(FAYEAR,2) & "10" newvalue
I wrote this but I am doing something wrong.
THANK YOU!
Solved! Go to Solution.
Hi @Anonymous ,
In the formula, "ADMITTERM" uses the same name as the Main[ADMITTERM] field, you need to replace it, such as "ADMITTERM 2".
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
@Anonymous Perhaps:
H21 =
COUNTROWS(
DISTINCT(
ADDCOLUMNS(
FILTER('Main',Main[ADMITSTATUS] = "N" || 'Main'[ADMITSTATUS] = "E"),
"ADMITTERM", "20" & LEFT(CALCULATE(DISTINCT(H2A_FR[FAYEAR])), 2)& "10"
)
)
)
Error that it cannot add columns because already exists.
Hi @Anonymous ,
In the formula, "ADMITTERM" uses the same name as the Main[ADMITTERM] field, you need to replace it, such as "ADMITTERM 2".
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
Thank you!
I think I figured it out,
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |