Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi experts,
I want to create a summary table like below, need to count customers without sale also.
My model is having customer master , calendar table and sales table
| Customer ID | Financial Year | Month | Max(Sale Date) |
| 1 | 2022 | Aug | 25-08-2022 |
| 1 | 2022 | Sep | 30-09-2022 |
| 1 | 2022 | Oct | 22-10-2022 |
Please help
Solved! Go to Solution.
Hi @Anonymous ,
see the calculated table in the pbi file here below:
https://1drv.ms/u/s!Aj45jbu0mDVJiHEv6z2y8SH0EZsE?e=w7Pgir
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
see the calculated table in the pbi file here below:
https://1drv.ms/u/s!Aj45jbu0mDVJiHEv6z2y8SH0EZsE?e=w7Pgir
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
try this:
ADDCOLUMNS(
SUMMARIZE('Sales',
'Customer'[Customer ID],
'Calendar'[Financial Year],
'Calendar'[Month]
),
"Max (Sale Date)",MAX('Sales'[Order Date])
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mangaus1111 ,
I tried below queries, in first case it will always return max sale date, in second case, the query will omit customers without sales.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 75 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |