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.
I have the following Table:
GROUP which is a list of all clients
TIME that has as values January, February and December
I need to create another column (or maybe a measure would be better) which assigns "New" to clients which are present only when TIME is equal to December.
I think my dax knowledge is not good enoguh to solve this issue, i guess FILTER would be needed but i'm not sure how to use it
Thanks!
Solved! Go to Solution.
Hi @robdan,
Can you try using this measure:
New Client? =
VAR __ConditionMet = CALCULATE(
COUNTROWS('Sample'),
'Sample'[Time] = "December"
) > 0
RETURN
IF(
__ConditionMet,
"New",
BLANK()
)
Hi @robdan
@govindarajan_d GOOD ANSWER!
You can also try the following measure:
My sample:
Measure = IF(MAX([Time]) = "December", "New", BLANK())
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @robdan
@govindarajan_d GOOD ANSWER!
You can also try the following measure:
My sample:
Measure = IF(MAX([Time]) = "December", "New", BLANK())
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @robdan,
Can you try using this measure:
New Client? =
VAR __ConditionMet = CALCULATE(
COUNTROWS('Sample'),
'Sample'[Time] = "December"
) > 0
RETURN
IF(
__ConditionMet,
"New",
BLANK()
)
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |