The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
Solved! Go to Solution.
Hi @Anonymous
DATESBETWEEN returns a table. My understanding that you want to return the number of selected days. You can achieve that by returning
RETURN
DATEDIFF ( FirstDay, LastDay, DAY )
Hi @tamerj1
Thanks a lot, it is clear and the dateiff funtion works, brilliant. Very much appreciated. And I also inderstand datesbetween much better now.
Cheers,
Carsten
Hi @Anonymous
DATESBETWEEN returns a table. My understanding that you want to return the number of selected days. You can achieve that by returning
RETURN
DATEDIFF ( FirstDay, LastDay, DAY )
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |