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 2 Tables:
Table 1:
Column1: Name (with 5 names: Adam, Frank, Thomas, Julie, Simon)
Table 2:
Column1: Name
Column2: Partner
2 Lines: column Name (Adam, Adam), columns Partner (Frank, Thomas)
In Dashboard i have 1 segmentation (Column1 Table1)
I need a table visual that contains:
All column1/table1 names that were not mentioned in column2/table2 when I filter the name in the segmentation.
Example:
Segmentation: Adam
Result: Julie, Simon
Solved! Go to Solution.
I couldn't, let's try another way.
by power query, I'll give an example of the tables:
Table 1
Name |
Adam |
Frank |
Thomas |
I need an M formula to add a second column that repeats all the names for each name in column 1 except itself, so it looks like this:
Name | Partner |
Adam | Frank |
Adam | Thomas |
Frank | Adam |
Frank | Thomas |
Thomas | Adam |
Thomas | Frank |
I couldn't, let's try another way.
by power query, I'll give an example of the tables:
Table 1
Name |
Adam |
Frank |
Thomas |
I need an M formula to add a second column that repeats all the names for each name in column 1 except itself, so it looks like this:
Name | Partner |
Adam | Frank |
Adam | Thomas |
Frank | Adam |
Frank | Thomas |
Thomas | Adam |
Thomas | Frank |
@FabianoJohann , if you have a common dimension name, then measure can help
With common name dim
Countx(Except(Table1[Name], Table2[Partner]), [Name])
Plot with common name dim joined with name of table 1 and Partner of table 2
Or create a new table
Except(Table1[Name], Table2[Partner])
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |