Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi PBI Gurus
I have a scenrio where the date is in date range on Sliders and the table have a data with fields having another date.
The date slicer has date field name <System_Date> while the visual have date filed name <Updated_Date>
Now If I Select <System_Date> range from date slicer say 01-Jun-2024 to 30-Jun-2024 it should show below data
No Of Days shold be calculated based upon the End Date select in date slicer - the Updated_Date in table visual.
Appreciate your help here
Solved! Go to Solution.
If you want the slicer to also filter the table then you will need to make a relationship between the date table and the fact table.
Proud to be a Super User! | |
A measure like the following will work when the table date is not related to the date from the date table.
Measure =
var _maxDate =
MAXX(dateTable, dateTable[Date])
var _diff =
DATEDIFF(SELECTEDVALUE('Table'[DateFromTable]), _maxDate, DAY)
RETURN
_diff
Proud to be a Super User! | |
This is just calculating No Of Days but it should also filter the table below , so If I select end date as 30-Jun-2024 the date slider is having properties as before so it shoudl show all data before 30-jun-2024
Thanks it worked as expected
If you want the slicer to also filter the table then you will need to make a relationship between the date table and the fact table.
Proud to be a Super User! | |
User | Count |
---|---|
64 | |
59 | |
47 | |
32 | |
31 |
User | Count |
---|---|
84 | |
73 | |
52 | |
50 | |
44 |