Forum Discussion
Kavelar1
1 year agoFrequent Visitor
T12 Flex-Flow Calculation
Hi again, I am back with another issue. I am trying to display a T-12 based flex-flow calculation with a disconnected date on the x-axis for a bar chart. At the moment, when I apply my T12 filter...
- 1 year ago
Hi,
See if my solution in the attached file helps.
Ashish_Mathur
Super User
1 year agoHi,
Your question is not clear. Share some data, explain the question and show the expected result. Share data in a format that can be pasted in an MS Excel file.
- Kavelar11 year agoFrequent Visitor
Apologies. The top view is what it should look like but am using the main date table. The bottom view is what ends up appearing when placing the Disconnected T12 filter into the visual while plotting with the disconnected date table 'T12,2Y etc Purposes Dates.' The thing I am attempting to achieve is to allowing the user to select a year/month and see the flex-flow calculations for the last 12 months of the selected date as opposed to the most recent accesible data.
Month Revenue GOP 1/1/2023 95,795 25,684 2/1/2023 80,860 30,215 3/1/2023 134,886 44,039 4/1/2023 86,265 38,529 5/1/2023 117,194 40,238 6/1/2023 124,131 52,381 7/1/2023 140,263 54,150 8/1/2023 96,023 32,657 9/1/2023 121,090 30,593 10/1/2023 147,221 64,547 11/1/2023 144,820 52,520 12/1/2023 80,769 26,418 1/1/2024 139,735 35,379 2/1/2024 142,955 42,340 3/1/2024 144,925 43,217 4/1/2024 147,969 57,212 5/1/2024 85,311 31,735 6/1/2024 133,707 55,707 7/1/2024 108,693 30,941 8/1/2024 105,658 34,678 9/1/2024 98,431 28,195 10/1/2024 82,747 33,187 11/1/2024 139,150 46,619 12/1/2024 145,725 42,491 Flow (+) % vs Prior Year =VAR CurrentRevenue =CALCULATE([Revenue],'Main Table'[Period] = "MTDCY")VAR PriorRevenue =CALCULATE([Revenue],'Main Table'[Period] = "MTDCY",SAMEPERIODLASTYEAR('Date'[Date]))VAR CurrentGOP =CALCULATE([GOP],'Main Table'[Period] = "MTDCY")VAR PriorGOP =CALCULATE([GOP],'Main Table'[Period] = "MTDCY",SAMEPERIODLASTYEAR('Date'[Date]))VAR RevenueVariance = CurrentRevenue - PriorRevenueVAR GOPVariance = CurrentGOP - PriorGOPRETURNIF(RevenueVariance <= 0,BLANK(),DIVIDE(GOPVariance, RevenueVariance))Thanks!- Ashish_Mathur1 year ago
Super User
Hi,
See if my solution in the attached file helps.