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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to calculate a measure based on my date filter in the report. Here is the formula I am using to count the days between between the start and end date of the filter:
whenever you see a behavior like that you need to think about the filter context. By default it only looks at the current "row". You need to use ALL() or ALLSELECTED() on your fact table (not the dates table) to expand the context according to your requirements.
Please provide sample data in usable format and show the expected outcome.
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 |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |