Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have two list of customer available in two different tables. How can I get the count of customer that are available in Table1 but not available in Table2?
Example below
Table1 | Table2 |
Customer | Cusomter |
Cus1 | Cus1 |
Cus2 | Cus1 |
Cus3 | Cus12 |
Cus4 | Cus12 |
Cus5 | |
Cus6 |
Solved! Go to Solution.
pls try this
Measure =
VAR tbl=ADDCOLUMNS('Table 1',"check",LOOKUPVALUE(Table2[Customer],Table2[Customer],'Table 1'[Customer]))
return COUNTROWS(FILTER(tbl,[check]=""))
Proud to be a Super User!
Hi @SamOvermars ,
Please try this measure:
Measure = COUNTROWS(DISTINCT(EXCEPT('Table1','Table2')))
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi,
Write this calculated column formula in Table1
Available in Table2 = LOOKUPVALUE(Table2[Customer],Table2[Customer],Table1[Customer])
Write this measure
Measure = calculate(countrows(Table1),Table1[Available in Table2]=BLANK())
Hope this helps.
pls try this
Measure =
VAR tbl=ADDCOLUMNS('Table 1',"check",LOOKUPVALUE(Table2[Customer],Table2[Customer],'Table 1'[Customer]))
return COUNTROWS(FILTER(tbl,[check]=""))
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
142 | |
74 | |
63 | |
51 | |
47 |
User | Count |
---|---|
218 | |
86 | |
64 | |
63 | |
60 |