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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear Team,
Anyone can help me? I have a table with sale record from month to month. I want to count the outlet that have purchase in the last 2 + current month. let say 1 outlet if have purchase 1 time in these 3 month, we will count as 1.
| Outlet ID | Jan | Feb | Mar | Count as Distribution Report |
| 1044271 | 2 | 3 | 3 | 1 |
| 1044272 | 4 | 1 | ||
| 1044273 | 2 | 5 | 1 | |
| 1044307 | 10 | 4 | 1 | |
1044308 | 4 | 7 | 1 | |
| Outlet Count | 4 | 3 | 3 | 5 |
Thanks you very much for your kindness.
Hi @CheanSereyvatan ,
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 November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 59 | |
| 51 | |
| 46 |