Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have data import from database, Orders and Sales this 2 table link with manyto1 relationship. 1 OrdersId can have many SalesID because the customers don't like to pay all of them in one time. Now I want to count how many OrdersID not in table Sales to see how many orders the customers don't yet paid and i also want to count date between order_date and sale_date. Thank you
Solved! Go to Solution.
@Doomemy , Create a measure like 1st one and display with order id from order
if(isblank(count(sales[SalesID])),1,blank())
or measure like
countx(values(Order[OrderID]) ,if(isblank(calculate(count(sales[SalesID]))),Order[OrderID],blank()))
@Doomemy , Create a measure like 1st one and display with order id from order
if(isblank(count(sales[SalesID])),1,blank())
or measure like
countx(values(Order[OrderID]) ,if(isblank(calculate(count(sales[SalesID]))),Order[OrderID],blank()))
Thank You
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
82 | |
67 | |
61 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |