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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I need to get the Number of days between the date ranges selected by user. Based on the number of days, Utilization will be calculated.
Date Slicer
Based on the selection, I managed to get the starting date and ending date. The calculation column used for these things are
For getting intial date.
For getting End Date.
But when i tried to get the date difference between these selected values, am facing issues. The date difference returns 0, Where I should get difference as 9 days.
The formula used for caluculating DateDiff is
THE OUTPUT I GOT IS
It will be great if someone help me in achieving this. Thanks In Advance.
What are the results if you simply use
= DATEDIFF ( MIN ( 'table'[date] ), MAX ( 'table'[date] ), DAY )
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 51 | |
| 39 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 79 | |
| 37 | |
| 27 | |
| 25 |