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.
Hi,
Good day.
I have a table with two dates (activated date and reactivated date) and the requirement is to retrieve the data based on that two dates using only 1 calendar.
Here's the sample table structure and the current active connection to the calendar table is created_date.
If my Date slicer value is from 10/01/2021 to 10/31/2021 then I should still retrieve Zoro's information because he's reactivated_date is within the range.
ref_id | app_id | name | created_date | reactivated_date | |
1 | 222 | Luffy | Luffy@email.com | 10/01/2021 | 10/20/2021 |
1 | 111 | Zoro | Zoro@email.com | 10/02/2020 | 10/25/2021 |
2 | 333 | Sanji | Sanji@email.com | 10/05/2021 | null |
3 | 444 | Ussop | Ussop@email.com | 10/21/2021 | null |
Thanks in advance for the help.
Hi @Anonymous ,
According to your description,data slicer is from 10/01/2021 to 10/31/2021 then you can still retrieve at least Zoro's and Luffy's information? Why Luffy does not meet your criteria?
If it is possible, please provide some sample more and desired output.
Best Regards
Community Support Team _ polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , with help from an independent date table for slicer
Started in range and end after Range =
var _max = minx(allselected(Date), Date[Date])
var _min = maxx(allselected(Date), Date[Date])
return
calculate(count(Table[Project Number]), Filter(Table,(Table[CreatedDate] <=_max && Table[CreatedDate]) >=_min ) )
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
64 | |
51 | |
39 | |
26 |
User | Count |
---|---|
86 | |
55 | |
44 | |
42 | |
36 |