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.
Stuck trying to work out what my debtor position is over a period of time. For any order I can work out that on any date selected (from a disconnected calendar table) whether the order was a debtor. This works fine for each order but not for totals across 3 orders (see table below) - I understand this because I am not filtering per line and it calculating the debtor across all 3 orders for the entire time span. If I filter over the calendar table or the order table I get the same result - it is fundamentally just wrong. Need a nudge please.
Solved! Go to Solution.
@Anonymous , Try a measure like
measure =
var _max = maxx(ALLSELECTED('Calendar Debtors'),'Calendar Debtors'[Date])
var _min = minx(ALLSELECTED('Calendar Debtors'),'Calendar Debtors'[Date])
return
sumx('Orders',[Sale plus VAT Curr]+[Sage Non Stock Curr]),
filter('Orders',
_min>=min(Orders[DATE Closed]) &&
_max<=max(Orders[DATE Closed])
)
)+0
@Anonymous , Try a measure like
measure =
var _max = maxx(ALLSELECTED('Calendar Debtors'),'Calendar Debtors'[Date])
var _min = minx(ALLSELECTED('Calendar Debtors'),'Calendar Debtors'[Date])
return
sumx('Orders',[Sale plus VAT Curr]+[Sage Non Stock Curr]),
filter('Orders',
_min>=min(Orders[DATE Closed]) &&
_max<=max(Orders[DATE Closed])
)
)+0
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
133 | |
76 | |
53 | |
38 | |
37 |
User | Count |
---|---|
202 | |
80 | |
71 | |
55 | |
48 |