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 have a cohort analysis which is typically montly.
My boss wants it quarterly.
I created calculated column to group our customers :
(DATE) ORDER QUARTER & YEAR =
VAR _FirstOrderDate = CALCULATE(
MIN(orders[time_dropoff_id]),
FILTER(
ALL(orders),
orders[customer_id] = EARLIER(orders[customer_id]) &&
NOT orders[order_status_code] IN {7, 10, 2.5}
)
)
VAR _Year = YEAR(_FirstOrderDate)
VAR _Quarter = QUARTER(_FirstOrderDate)
VAR _MonthEndOfQuarter = _Quarter * 3
VAR _LastDayOfQuarter = EOMONTH(DATE(_Year, _MonthEndOfQuarter, 1), 0)
RETURN _LastDayOfQuarter
I created series that will serve as my column
My monthly cohort retention dax is like this:
Hi @Andrew_na_lang ,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
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 |
|---|---|
| 26 | |
| 24 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 42 | |
| 41 | |
| 21 | |
| 20 |