Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |