The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
28 |
User | Count |
---|---|
106 | |
98 | |
55 | |
49 | |
48 |