Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a power bi report contains many queries (direct queries from KQL & SQL) and I have two columns (fromdate & todate) so in the report I have to create two slicers (fromdate) and todate . then the only option is to select from the drop down slicers . how can I have one slicer only instead of the two slicers
You need only one Date table.
Thats the all tables, no connections:
I did the same, still the slicer is not active
You probably can see only drop down because you are using "date hierarchy" no "Date"
Not sure if this is the best solution it should work:
1. Create an new teble "DimDate" that contains date column.
2. Then create a slicer with that DimDate[date].
3. Add 2 extra measures that will chacek what max and min value from "DimDate" are and comare them to your date columns.
MinFilter =IF(Selectedvalue('Your_Table'[fromdate]) >= CALCULATE(MIN('Table'[Date])),1,0)
MaxFilter =IF(Selectedvalue('Your_Table'[todate]) >= CALCULATE(MAX('Table'[Date])),1,0)
4. Add those filters to the visual and set them to 1
thank you for your feedback, I choose date not date hierarchy , could I know how to create DimDate
in the fromdate I'm using