Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a Sales Table that shows the sale pay date and the date that the client in fact payed for the product, called "Sales Off".
If today is greater than the pay date and the Sales Off cell is empty, it means that the client has default. If the Sales Off is greater than the Pay Date, it means that the client defaulted in the past.
I want to build a measure that shows all accumulated amount that has already been defaulted at some date (present or past). How can I do that?
Solved! Go to Solution.
Hi @Anonymous
Do share some sample data to help people that want to help you. Where is the inf for the amount? Try this:
Measure =
VAR today_ =
TODAY ()
RETURN
CALCULATE (
SUM ( Table1[Amount] ),
FILTER (
ALL ( Table1[Pay date], Table1[Sales off] ),
(ISBLANK ( Table1[Sales off] ) && Table1[Pay date] < today_) || (Table1[Sales off] > Table1[Pay date])
)
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi @Anonymous
Do share some sample data to help people that want to help you. Where is the inf for the amount? Try this:
Measure =
VAR today_ =
TODAY ()
RETURN
CALCULATE (
SUM ( Table1[Amount] ),
FILTER (
ALL ( Table1[Pay date], Table1[Sales off] ),
(ISBLANK ( Table1[Sales off] ) && Table1[Pay date] < today_) || (Table1[Sales off] > Table1[Pay date])
)
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |