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'm trying to create a table to compare TTM Amounts. Let's assume that I'm comparing FY16 (12/31/2017), FY17 (12/31/2017), FY18 (12/31/2018) and TTM Apr-19 (04/30/2019), so, I created the following script.
TTM CY vs PY =
VAR TTM = [Total TTM]
VAR TTM_PY =
CALCULATE ( [Total TTM], DATEADD ( Date_Table[Period End Date], -365, DAY ) )
RETURN
TTM - TTM_PY
I'm having two issues with this script.
1) This script is comparing FY16 to the previous period that does not exist in any table that I have. Is there somehow a way to just compare FY16 to FY17?
2) When I'm comparing TTM Apr-19, this script is comparing TTM Apr-19 with TTM Apr-18, however I would like to compare any TTM period in the table with the last FY available (in this case, FY18).
I really appreciate any help and I can provide more info if necessary.
PS: My TTM and TTM PY is working well, my problem, is when I compare it.
Thank you
Just a quick update. For the item #1, I found a solution. Just need for the item #2.
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 | |
51 | |
44 | |
16 | |
12 |