This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hello,
I have two table (Table01 and Table 02)
How I can get Table 03 that have the ID that exist in table 02 and not exist in table 01
Thanks.
Solved! Go to Solution.
@Anonymous ,
if you are trying to find products with NO sales in a given period, then this video should help you as this is exactly what it's for:
if you want to practice, download the tutorial here: https://businessintelligist.com/2020/07/25/dax-tutorial-how-to-count-things-that-did-not-happen/
@Anonymous ,
@Anonymous ,
Uuse the EXCEPT() function for your requirement.
@Anonymous ,
a new table
Table = EXCEPT(DISTINCT('Table1'[ProductID]),DISTINCT('Table2'[ProductID]))
as a measure
Measure = countx(EXCEPT(DISTINCT('Table1'[ProductID]),DISTINCT('Table2'[ProductID])), [ProductID])
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 22 | |
| 20 |