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
Could you pls share your pbix and result you want to display ?I need data to test .Remember to remove confident data.
Best Regards
Lucien
@SvenJacobs
Please try:
FlatsBezetPerDatum =
VAR __startdate =
FIRSTDATE ( DateTable[Date] )
VAR __enddate =
LASTDATE ( DateTable[Date] )
RETURN
CALCULATE (
COUNT ( 'Bewoners_Contracten (Sharepoint)'[ContractId] ),
FILTER (
'Bewoners_Contracten (Sharepoint)',
'Bewoners_Contracten (Sharepoint)'[DatumInHuizing] >= __startdate
&& ( 'Bewoners_Contracten (Sharepoint)'[DatumuithuizingZonderNull] <= __enddate )
),
'Bewoners_Contracten (Sharepoint)'[DatumInHuizing] <> BLANK()
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The 2 DAX codes seem to work only I guess my thinking is not correct..... Why because if I have 100 flats i can not. Need to figure out how your HR thing worked. Because I want to know on a specific date in time the amount of flats that wher rented out.
@SvenJacobs Are you trying to find active between the start and end date. Refer to this example
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |