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.
Hi,
I have a Leavers list in Table having their Month of Leaving and Month of Joining.
* My Date table is linked to Month of Leaving.
I want a monthly trend / Running Total showing Sum of Leavers (who left in last 3 months and their month of joining is also in the last 3 months).
I am quite new to Power BI, can someone help me with the solution please?
Solved! Go to Solution.
Hi @Anonymous,
Based on my test, you could refer to below steps:
Create a date table and create relationship:
Date = CALENDARAUTO()
Create below calculated columns:
a = CALCULATE ( SUM ( Table1[joiners]), DATESINPERIOD('Date'[Date],'Table1'[Month],-3,MONTH))
b = CALCULATE ( SUM ( Table1[Leavers]), DATESINPERIOD('Date'[Date],'Table1'[Month],-3,MONTH))
Result:
Regards,
Daniel He
Hi @Anonymous,
Could you please offer some sample data to have a test or post your data picture if possible?
Regards,
Daniel He
Please find the sample, thanks in advance for help:
Hi @Anonymous,
Based on my test, you could refer to below steps:
Create a date table and create relationship:
Date = CALENDARAUTO()
Create below calculated columns:
a = CALCULATE ( SUM ( Table1[joiners]), DATESINPERIOD('Date'[Date],'Table1'[Month],-3,MONTH))
b = CALCULATE ( SUM ( Table1[Leavers]), DATESINPERIOD('Date'[Date],'Table1'[Month],-3,MONTH))
Result:
Regards,
Daniel He
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |