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.
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:
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 |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
23 | |
13 | |
11 | |
10 | |
10 |