I have created two virtual columns. With the help of which I want to count the unique [team name] But my [team name] is of Enumlist types. Whose doing is single counting two names.
First virtual column expression
SPLIT(CONCATENATE([TEAM NAME]), " & ")
Second Virtual Column Expression
COUNT(UNIQUE(FILTER("photos"[First Virtual], IN([DATE], LIST(TODAY())))))
Solved! Go to Solution.
Good day @Sirfyaad
Try this idea it will work
[First virtual column] expression Type of the column LIST
SPLIT(SELECT(photos[TEAM NAME],AND(CONTAINS([TEAM NAME], "&"),[DATE]=TODAY()) ),"&")
+
SELECT(photos[TEAM NAME], AND(NOT(CONTAINS([TEAM NAME], "&")),[DATE]=TODAY()))
[Second Virtual Column] Expression Type of the column Number
COUNT( UNIQUE([First virtual column]))
I think the error is in the way the Expression is written of FILTER()
Examples of how to use:
Can you complete this expression and give it?
Try this expression:
COUNT(UNIQUE(SELECT(photos[First Virtual], IN([DATE], LIST(TODAY())))))
As you can see in the image below. Result 02 is being shown. While team name is unique text 03.
Please help
@Sirfyaad wrote:First virtual column expression
SPLIT(CONCATENATE([TEAM NAME]), " & ")
The Correct expression
SPLIT([TEAM NAME],"&")
You tell me how can I correct this expression.
This is the correct expression. For first virtual column.
SPLIT([TEAM NAME],"&")
Not working
Good day @Sirfyaad
Try this idea it will work
[First virtual column] expression Type of the column LIST
SPLIT(SELECT(photos[TEAM NAME],AND(CONTAINS([TEAM NAME], "&"),[DATE]=TODAY()) ),"&")
+
SELECT(photos[TEAM NAME], AND(NOT(CONTAINS([TEAM NAME], "&")),[DATE]=TODAY()))
[Second Virtual Column] Expression Type of the column Number
COUNT( UNIQUE([First virtual column]))
How can I use this expression in template. Without any virtual column.
By Create Bot. Event Type ( Scheduled or Data Change ) for run an action.
I have created bots. The template is also being generated. Just want to put this expression in the template. Without virtual columns.
User | Count |
---|---|
15 | |
11 | |
9 | |
8 | |
4 |