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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sgetgood
Regular Visitor

Calculation help - churn

Hi all,

 

I have a matrix visual of active vs cancelled payments. 

sgetgood_0-1751024833942.png

 

I want to add a column that shows the attrition rate for the month. 

 

I can't figure out how to add this as a visual calculation. Any help would be appreciated.

 

Many thanks.

2 ACCEPTED SOLUTIONS
speedramps
Super User
Super User

Try this ...

Attrition Rate=
var Activetotal = SUM(yourtable[Active])
var Cancelledtotal = SUM(yourtable[Cancelled])
RETURN
DIVIDE (Activetotal  + Cancelledtotal,   Cancelledtotal)

 

Do not x by 100.

Simply chnage the data type and formating to a % with 2 decimals.

 

You are clearly a novice if you dont know how to calculatre %s yet.

Please do some traininbg before asking any more basic questions.

You will learn quicker and better here ..

https://www.youtube.com/watch?v=AGrl-H87pRU

https://learn.microsoft.com/en-us/training/browse/?products=power-bi

 

 

I want to help you more  but your description is too vague. Please write it again.


You will get a quicker and better response without misunderstandings if you put time and effort into carefully writing a clear problem description with example input and output data. Look forward to helping you when this information is forthcoming


* Please DO give a simple non-technical functional description of what you want
* Keep it simple and break large projects into smaller questions and ask just one question per ticket.
* Rename columns to user friendly names. Avoid your own system jargon that we may not understand.
* Most importantly please provide example input data as table text (not a screen print) so helpers can import the data to build a solution for you. (Learn how to share data below)
* Provide the example desired output, with a clear step-by-step description of calculations and the process flow.
* Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.
* Remove any unneeded tables, rows or columns which may cause confusion. Keep it short and concise with the minimal information regarding the key problem.
* Remember not to share private data ... we don't want you to get into trouble. ‌‌
* Please click the thumbs up button for these helpful hints and tips. Thank you.


Learn how to attach data in the forum using OneDrive:-
* Save your file in a OneDrive folder
* Right click on the file and click the “Share” blue cloud icon
* Click the bottom “Copy” button
* Click” Anyone with link can edit”
* Click “Can Edit”
* Click “Can View”
* Click “Apply” button
* Click “Copy”
* Paste the generated link via the forum, email, chat, or any other method.
* Helpers can then download your data, build a solution and share it back.


Learn how to attach data in the forum using Dropbox:-
1. Open Dropbox: Access the Dropbox folder on your computer or through the Dropbox web interface.
2. Select File/Folder: Find the file or folder you want to share.
3. Click Share (or Get Link): Look for a "Share" option or a similar "Get Link" option.
4. Choose Permissions: Decide whether to allow "view only" or "view and download" access.
5. Copy and Share: Copy the generated link and share it with anyone via the forum, email, chat, or any other method.

 

 

View solution in original post

mark_endicott
Super User
Super User

@sgetgood - You can create a visual calculation through the ellipses of the table in the top right. See below for the menu options. 

 

mark_endicott_0-1751030487948.png

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

View solution in original post

2 REPLIES 2
mark_endicott
Super User
Super User

@sgetgood - You can create a visual calculation through the ellipses of the table in the top right. See below for the menu options. 

 

mark_endicott_0-1751030487948.png

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

speedramps
Super User
Super User

Try this ...

Attrition Rate=
var Activetotal = SUM(yourtable[Active])
var Cancelledtotal = SUM(yourtable[Cancelled])
RETURN
DIVIDE (Activetotal  + Cancelledtotal,   Cancelledtotal)

 

Do not x by 100.

Simply chnage the data type and formating to a % with 2 decimals.

 

You are clearly a novice if you dont know how to calculatre %s yet.

Please do some traininbg before asking any more basic questions.

You will learn quicker and better here ..

https://www.youtube.com/watch?v=AGrl-H87pRU

https://learn.microsoft.com/en-us/training/browse/?products=power-bi

 

 

I want to help you more  but your description is too vague. Please write it again.


You will get a quicker and better response without misunderstandings if you put time and effort into carefully writing a clear problem description with example input and output data. Look forward to helping you when this information is forthcoming


* Please DO give a simple non-technical functional description of what you want
* Keep it simple and break large projects into smaller questions and ask just one question per ticket.
* Rename columns to user friendly names. Avoid your own system jargon that we may not understand.
* Most importantly please provide example input data as table text (not a screen print) so helpers can import the data to build a solution for you. (Learn how to share data below)
* Provide the example desired output, with a clear step-by-step description of calculations and the process flow.
* Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.
* Remove any unneeded tables, rows or columns which may cause confusion. Keep it short and concise with the minimal information regarding the key problem.
* Remember not to share private data ... we don't want you to get into trouble. ‌‌
* Please click the thumbs up button for these helpful hints and tips. Thank you.


Learn how to attach data in the forum using OneDrive:-
* Save your file in a OneDrive folder
* Right click on the file and click the “Share” blue cloud icon
* Click the bottom “Copy” button
* Click” Anyone with link can edit”
* Click “Can Edit”
* Click “Can View”
* Click “Apply” button
* Click “Copy”
* Paste the generated link via the forum, email, chat, or any other method.
* Helpers can then download your data, build a solution and share it back.


Learn how to attach data in the forum using Dropbox:-
1. Open Dropbox: Access the Dropbox folder on your computer or through the Dropbox web interface.
2. Select File/Folder: Find the file or folder you want to share.
3. Click Share (or Get Link): Look for a "Share" option or a similar "Get Link" option.
4. Choose Permissions: Decide whether to allow "view only" or "view and download" access.
5. Copy and Share: Copy the generated link and share it with anyone via the forum, email, chat, or any other method.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.