Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I would like to set up a new column or measure to show only clients that have been active in the last 3 months and 6 months.
I would like to do this as a column or measure so the figures are always up to date, rather than filtering each time.
Please could someone advise what the formula would be for the below. The formula can simply enter the text 'YES' if the condition is met.
CLIENT[LAST ACTIVITY DATE] is EARLIER THAN 3 MONTHS BEFORE TODAY'S DATE
and
CLIENT[LAST ACTIVITY DATE] is EARLIER THAN 3 MONTHS BEFORE TODAY'S DATE
Thank you
Solved! Go to Solution.
Hi @jasminwing,
First create a colculated column using the following formula.
Signal=IF(AND(CLIENT[LAST ACTIVITY DATE] >=DATE(YEAR(TODAY()),MONTH(TODAY())-3,DAY(TODAY())),CLIENT[LAST ACTIVITY DATE] <=TODAY()),"3month",IF(CLIENT[LAST ACTIVITY DATE] >=DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),"3-6month","NO"))
Then create a Table visual including the clients field. Create a related slicer including Signal measure. When you select the "3month", "3-6month" in the slicer, you will get only clients that have been active in the last 3 months and 6 months.
If you have other issues, don't hesitate to let me know.
Best Regards,
Angelia
Hi @jasminwing,
First create a colculated column using the following formula.
Signal=IF(AND(CLIENT[LAST ACTIVITY DATE] >=DATE(YEAR(TODAY()),MONTH(TODAY())-3,DAY(TODAY())),CLIENT[LAST ACTIVITY DATE] <=TODAY()),"3month",IF(CLIENT[LAST ACTIVITY DATE] >=DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),"3-6month","NO"))
Then create a Table visual including the clients field. Create a related slicer including Signal measure. When you select the "3month", "3-6month" in the slicer, you will get only clients that have been active in the last 3 months and 6 months.
If you have other issues, don't hesitate to let me know.
Best Regards,
Angelia
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 124 | |
| 108 | |
| 47 | |
| 28 | |
| 27 |