This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I want to creat a new Measure for a table which should show the total retention in the total row of the table. Can someone help me?
In this layout the new measure should be add next to retention and show the total retention that the customer has.
https://drive.google.com/file/d/1k10VsQ2r3H_-L-3T2k0An9NajyoS0V0z/view?usp=sharing
Hi @Anonymous ,
You could try the following measure:
Retention =
VAR a =
IF (
[Retention condition 1] >= 1
|| [Retention Condition 2] >= 1
|| [Retention Condition 3] >= 1,
1,
0
)
VAR b =
COUNTX ( VALUES ( dCalendar[YEAR] ), a )
RETURN
IF ( ISINSCOPE ( dCalendar[YEAR] ), a, b )
Please try this expression, substituting your actual table and column names
NewMeasure = SUMX(VALUES('Date'[Year]), [Retention])
This should give you the correct result in both your rows and total.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
I use this function
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 22 | |
| 19 | |
| 18 |