Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hey everyone
I'm having a huge problem avoiding the row filter when selecting a specific date. For the sake of example, let's assume I have 1 table, called DIM_CALENDAR, and a measure that counts the number of days selected. If I select a specific date on the slicer, I get that one date, and I would like to get all the dates up to that selected date.
The only solution I can see, but is not accepted by the business, is to set the date slicer to a period up to a specific date, but unfortunately the business wants to select dates from a drop-down list.
My measure (not working):
I wanna see list of dates to this selected date on the right side
Solved! Go to Solution.
Hi @Asmoday1507 ,
Based on what you’ve mentioned, to get all the dates up to that selected date, you can follow these steps:
Here are my test data:
1.Create a calculate table
Table = VALUES('DIM-CALENDER'[Date])
2.Create a Slicer by using DATE column of table
3.Create another and set to the filter of this visual(table), and set options as ‘is 1’
Measure = VAR Selected_value = SELECTEDVALUE('Table'[Date]) RETURN IF( MAX('DIM-CALENDER'[Date]) <= Selected_value, 1, 0)
4.Final output
In order for you to solve the problem faster, you can refer to the following documentation
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Best Regards,
Albert He
Hi @Asmoday1507 ,
Based on what you’ve mentioned, to get all the dates up to that selected date, you can follow these steps:
Here are my test data:
1.Create a calculate table
Table = VALUES('DIM-CALENDER'[Date])
2.Create a Slicer by using DATE column of table
3.Create another and set to the filter of this visual(table), and set options as ‘is 1’
Measure = VAR Selected_value = SELECTEDVALUE('Table'[Date]) RETURN IF( MAX('DIM-CALENDER'[Date]) <= Selected_value, 1, 0)
4.Final output
In order for you to solve the problem faster, you can refer to the following documentation
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Best Regards,
Albert He
Hey @Asmoday1507
Try this:
All Dates to Selected =
CALCULATE(
COUNTROWS('DIM_CALENDAR'),
FILTER(
ALL('DIM_CALENDAR'),
'DIM_CALENDAR'[Date] <= MAX('DIM_CALENDAR'[Date])
)
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |