Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Is it possible for me to build a Dax / funtionality that will allow me to have one date filter / slicer that will then return all rows between a start and end date range?
For example from the table below. If i select 01/02/2021 or 30/02/2021 it will show me rows for Event 3&4.
And if i selected 14/01/2021 it would show me Event 1, 2, 3 % 4.
If anyone could assit me with this i would be most greatful indeed, i have tried everything i can think of with regards to this.
You can use a measure pattern like this and use it as a filter on your table visual where it "is" 1
EventFilter =
VAR vSelDate =
SELECTEDVALUE ( SlicerTable[Date] )
RETURN
IF (
ISBLANK (
CALCULATE (
COUNT ( Event[Event Name] ),
Event[Start Date] <= vSelDate,
Event[End Date] >= vSelDate
)
),
0,
1
)
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |