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 a column with text and i'm trying to create a measure that will count the amount of times two words appear together.
For example:
Word 1: Text 1
Word 2: Text 2
Text 1 - Text 1 - Text 1 - Text 2
Text 1 - Text 3 - Text 1 - Text 3
Text 1 - Text 2 - Text 1 - Text 1
Text 1 - Text 2 - Text 1 - Text 1
Text 1 - Text 1 - Text 1 - Text 3
Text 1 - Text 1 - Text 1 - Text 3
Text 1 - Text 1 - Text 1 - Text 4
Result: 3 (as text 1 and text 2 appear together on 3 different rows)
I have the following dax that converts selections in splicers to strings:
The code doesn't error, but nothing is returned. Am i using the wrong contains? Or is something else off.
TIA
Hi @EddP
perhaps you need to include the delimiter (seperator) and spaces.
VAR inp = t1 & " - " & t2
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |