Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
28 | |
22 | |
12 | |
8 |
User | Count |
---|---|
76 | |
53 | |
46 | |
16 | |
12 |