March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
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.
How can I build a measure that shows how many default days each client is?
@Anonymous Perhaps something like:
Days in Default Measure =
VAR __Today = TODAY()
VAR __PayDate = MAX('Table'[Sales Pay Date])
VAR __SalesOff = MAX('Table'[Sales Off])
RETURN
IF(__Today > __PayDate && ISBLANK(__SalesOff),(__Today - __PayDate)*1.,BLANK)
This will return me just a single value, but I need a value for each client. I have build a measure to sum the amount defaulted, maybe this can help to understand what I mean:
CALCULATE(
sum('Sales Table'[Amunt]),
FILTER(
'Sales Table',
'Sales Table'[sales Off] = BLANK() &&
'Sales Table'[pay date] < TODAY()
)
)
@Anonymous Well, I assumed that you would put the measure into something like a table visualization along with the client or whatever you needed it by. So, create a table visual and put the client field in the Values field well. Then place the measure into the field well.
I will do this too, but I also need to do the geometric avarege of days default
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
16 | |
15 | |
7 | |
7 |
User | Count |
---|---|
35 | |
31 | |
16 | |
16 | |
12 |