Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
s-turn
Resolver I
Resolver I

% change over instalments (not dates)

Hello, I wonder if it's possible to calculate percentage change over sequential numbered instalments, which are not dated?  The idea is that customers sign up to an open-ended plan and might cancel at any point.  I want to compare the number of customers who make their first payment to the number who make their second, third etc.

Here's a mock-up from Excel:

Screenshot change over instalments.PNG

i.e. only 58% of customers make 6 or more payments, and 95% of those who make 5 payments will go on to make a sixth payment, etc.

Thanks in advance!

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

If you store the table as 2 columns . (instalment and makeP)

Then add 2 calculated columns as follows:

ColumnA = VAR _prevP = LOOKUPVALUE(TableQ[makeP], TableQ[instalment], TableQ[instalment] - 1)
RETURN
    DIVIDE(TableQ[makeP] , _prevP) 
ColumnB = VAR _prevP = LOOKUPVALUE(TableQ[makeP], TableQ[instalment],  1)
RETURN
    DIVIDE(TableQ[makeP] , _prevP) 

 

Please post sample data next time (not a picture). It always helps.

View solution in original post

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @s-turn ,

 

Would you please show us some sample data of your raw data? Then we can help you more accurately.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

HotChilli
Super User
Super User

If you store the table as 2 columns . (instalment and makeP)

Then add 2 calculated columns as follows:

ColumnA = VAR _prevP = LOOKUPVALUE(TableQ[makeP], TableQ[instalment], TableQ[instalment] - 1)
RETURN
    DIVIDE(TableQ[makeP] , _prevP) 
ColumnB = VAR _prevP = LOOKUPVALUE(TableQ[makeP], TableQ[instalment],  1)
RETURN
    DIVIDE(TableQ[makeP] , _prevP) 

 

Please post sample data next time (not a picture). It always helps.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.