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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hey All,
I need some help with availability calculations.
I have a table with:
FLATID | FLATNUMBER | LOCATION | NEIGHBOURHOOD | STARTDATE
1 | A0001 | A | 1 | 27/12/2017
2 | A0002 | A | 1 | 30/12/2017
X | A0001 | Park | 6 | 12/12/2020
I want to calculate the excact amount of availaible days
Before I added the startdate we created a DataTable (Model) with all the dates between 01/12/2017 and 31/12/2030.
We created a measure
Solved! Go to Solution.
Hi @SvenJacobs ,
Is this what you want?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SvenJacobs ,
Is this what you want?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@SvenJacobs , what is the expected output, that is not clear here.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Sorry
The output should be
FlatID | NEIGHBOURHOOD |Availability
X | X | X amount of days
So i can do a sum on the X amount of days in my kpi
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |