Forum

Calculate SUM based...
 
Notifications
Clear all

Calculate SUM based on a Previous Version Number

37 Posts
3 Users
0 Reactions
457 Views
(@alib40)
Posts: 113
Estimable Member
Topic starter
 

Thanks.  

It appears There’s just one more little quirk

for contracts that expire in the future I need to also check their status as being active. How can I do this ?

 
Posted : 27/12/2018 5:06 am
(@mynda)
Posts: 4761
Member Admin
 

With another && criteria.

 
Posted : 27/12/2018 8:01 pm
(@alib40)
Posts: 113
Estimable Member
Topic starter
 

Will it have to be another IF scenario for expired and Unexpired contracts that duplicates what we have already but with the additional && criteria for unexpired contracts

i only need to check future contracts for the active status not all contracts as the previous years(ie expired) will all be set to closed

 
Posted : 28/12/2018 4:11 am
(@mynda)
Posts: 4761
Member Admin
 

Probably better to ask Matt Alington this question: https://powerpivotforum.com.au/

 
Posted : 28/12/2018 8:16 am
(@mynda)
Posts: 4761
Member Admin
 

Just a thought...I presume you've tried adding the status field to the PivotTable and filtering on 'Active' contracts only?

 
Posted : 28/12/2018 7:14 pm
(@alib40)
Posts: 113
Estimable Member
Topic starter
 

All seems to be working  - thank you.

However, now that we have created a line for each year of a contract eg a 5 year contract now has 5 lines instead of 1 my measure for Active contracts now reports contracts that expired back in 2017 for eg as still being active in the [System Status]

What would be the most efficient way to re-calculate this measure:

Create a new query referencing Table1 filtered for [System Status]="Active" and delete duplicate rows, or

Create a new measure

Active:=CALCULATE([Total Revenue],FILTER('Table1',[System Status]="Active"&&[Revenue Year]>=TODAY()))

or

Something else?

 
Posted : 01/01/2019 1:37 pm
(@alib40)
Posts: 113
Estimable Member
Topic starter
 

Using the data in the file you sent.   As per the first post in this trail I'm using POWER BI

I've recreated all the queries within Power BI - but

If I use a matrix filtered for 2016, 2017 and 2018 and put the Inc Customer value, Lost Customer Value, New Customers Value and Reduced Customer Value fo the values the Total line does not add up to the total of the 3 years.

 

How can I recreate the waterfall chart in Power BI

 
Posted : 01/01/2019 5:06 pm
Page 3 / 3
Share: