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.
consider 2 tables orders and sales having conection with each other and below are the table details
consider table 1 : orders
below are fields of orders table
which contains
id
name
order date
consider table 2 : sales
below are fields of sales table:
idsales
quantity
ship date
now find the distinct count of "id" in the orders table that is not present in the sales table using dax
note:
is the below formula correct
@MattAllington @xifeng_L @lbendlin
Solved! Go to Solution.
I would try something like the below:
distinct count not in table = COUNTROWS(EXCEPT(VALUES(orders[id]), VALUES(sales[id])))
That's fine, but I think it might be better to change VALUES to ALL, so as to avoid the effects of some extraneous filtering.
distinct count not in table = COUNTROWS(EXCEPT(ALL(orders[id]), ALL(sales[id])))
The type of relationship between the table matters. What is the cardinality and direction of filter propagation? A screen should of the model view is normally easiest
I would try something like the below:
distinct count not in table = COUNTROWS(EXCEPT(VALUES(orders[id]), VALUES(sales[id])))
That's fine, but I think it might be better to change VALUES to ALL, so as to avoid the effects of some extraneous filtering.
distinct count not in table = COUNTROWS(EXCEPT(ALL(orders[id]), ALL(sales[id])))
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 |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |