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 database that compiles information received from several organization and I have to keep track on how many days has passed since the last submission.
I am doing it using this measure:
Overall last submission date = calculate(MAX(Submissions[last_submission_date]), ALLSELECTED(Submissions))
And then the min of this column
Organization | Last submission Date | Overall last submission Date | Days from last submission |
A | 14/8/2022 | 19/9/2022 | 36 |
B | 19/9/2022 | 19/9/2022 | 1 |
Organization | Last submission Date | Overall last submission Date | Days from last submission |
A | 31/12/2021 | 31/12/2021 | 0 |
B | 31/12/2021 | 31/12/2021 | 0 |
Organization | Last submission Date | Overall last submission Date | Days from last submission |
A | 31/12/2021 | 31/12/2021 | 262 |
B | 31/12/2021 | 31/12/2021 | 262 |
Solved! Go to Solution.
Thank you for the reply. Although your formula did not work, you pointed me in the right direction.
This is the formular that worked:
@Rafaelhk , The second one needs to be a measure too
Days from last submissoin= DATEDIFF(Max(Submissions[last_submission_date]), Submissions[Overall last submission date], DAY)
sumx(values(Submissions[Organization]) ,calculate(DATEDIFF(Max(Submissions[last_submission_date]), Submissions[Overall last submission date], DAY) ) )
Thank you for the reply. Although your formula did not work, you pointed me in the right direction.
This is the formular that worked:
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 |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |