Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello All,
When i filter the date range in slicer, it should fetch both Date 1 & Date 2 but its fetching only Date 2. Both Date 1 & Date 2 are from same table.
Kindly help me, its an urgent issue.
Solved! Go to Solution.
Hi @Ramesh4321 ,
You will need to create an independent date table and use it as date slicer.
Since you have two date columns to compare with the slicer, you will need to create a measure as below.
measure = if(selectedvalue('table'[date1]) in values(slicer[date]) || selectedvalue('table'[date2]) in values(slicer[date]),1,0)
After that, adding this measure to visual filter and set filter value = 1.
Best Regards,
Jay
Hi @Ramesh4321 ,
You will need to create an independent date table and use it as date slicer.
Since you have two date columns to compare with the slicer, you will need to create a measure as below.
measure = if(selectedvalue('table'[date1]) in values(slicer[date]) || selectedvalue('table'[date2]) in values(slicer[date]),1,0)
After that, adding this measure to visual filter and set filter value = 1.
Best Regards,
Jay
@Ramesh4321 , Slicer is created on date 1 or date2?
do you date 1 available for a selected range
If you want the same date table to filter 2 dates refer
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 |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |