- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Calculate date between and count
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous , 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()))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous , 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()))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thank You

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
07-26-2024 02:17 PM | |||
09-23-2024 08:19 AM | |||
07-18-2024 04:42 PM | |||
08-23-2024 08:05 AM | |||
04-18-2024 09:47 PM |
User | Count |
---|---|
141 | |
115 | |
82 | |
63 | |
48 |