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
Hi,
Thanks in advance for taking a look at this. Im sure its simple but no calclulations seem to be working for me.
I have several columns labeled License.1, License.2, License.3 ect after splitting the cells by denominator (,). I am now wanting to create a new column for each license to perform a count. For example, i want to create a new column called .USMI. The data shows there are multiple examples per line so i would need the new column to show me a count of the number of .USMI per line.
I can create the following count which displays the information correctly in the new column:
Hi, @Anonymous ;
You could create a column as follow:
.USMI =
COUNTROWS(
FILTER(
RELATEDTABLE('Hilda Test Power BI Data'),
'Hilda Test Power BI Data'[License.1] = ".USMI"))+COUNTROWS(
FILTER(
RELATEDTABLE('Hilda Test Power BI Data'),
'Hilda Test Power BI Data'[License.2] = ".USMI"))+COUNTROWS(
FILTER(
RELATEDTABLE('Hilda Test Power BI Data'),
'Hilda Test Power BI Data'[License.3] = ".USMI"))
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You need use and or OR ?
.USMI =
COUNTROWS(
FILTER(
RELATEDTABLE('Hilda Test Power BI Data'),
'Hilda Test Power BI Data'[License.1] = ".USMI" && 'Hilda Test Power BI Data'[License.2] = ".USMI" && 'Hilda Test Power BI Data'[License.3] = ".USMI"
))
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |