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.
Hi,
I have a sales table that contains these main infos:
Pay Date - The day that the client should pay
Sales Off - The day that the client in fact payed.
When a client has defaulted, the Sale Off cell is empty and today date is greater than the pay date.
I'd like to build a measure that shows how many days late the default clients are. For instance: If a client has a pay date 01/06/2021 and today is 15/06/2021 and also the Sales Off cell is empty, so the client is 14 days late.
Solved! Go to Solution.
@Anonymous
Create the following measure.
Days Late =
Sumx ( Table2,
IF(
TODAY() >(Table2[Pay Date]) &&(Table2[Sales Off]) = BLANK(),
INT(TODAY() -(Table2[Pay Date]) )
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
Create the following measure.
Days Late =
Sumx ( Table2,
IF(
TODAY() >(Table2[Pay Date]) &&(Table2[Sales Off]) = BLANK(),
INT(TODAY() -(Table2[Pay Date]) )
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy ,
I got what you meant, however the problem is that I have many different sales in the "table 2" and I'd like to know the default per client
@Anonymous
I modified the formula, insert customer Id or customer name in a table visual and add the measure and try
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |