Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hallo,
i am really struggling with a report i am trying to build.
I have 3 pages. In the first page i am getting data from a SP list to create charts. I have created a YTD/MTD and a date range slicer.
This List has a date field called "DateOfIncident". This is the date i am using.
For the slicers i created a table called 'Dates' :
Hi
For the second table, you need to split the date\time column into two separate columns, one just for the date, and one for the time. Then update your relationship to use the new date column and not the date time.
The reason for this is because '2022-01-13' is not equal to '2022-01-13 08:05' so your slicer can not filter the table.
do i have to manually update the relationship? I couldn't see an option.
DateOfincident as i see is a date time (time included) while Month column is Date only.
If you don't need the time component at all then you can simply change the DateTime type to Date (It's better to do this in power query) then you should not need to change the relationship.
If you create another column with just the date then you need to delete the old relationship then create a new one between your new date column and the date column in your date table.
I used the Month column in the slicer to filter the second table.
However i aslo have a table with 2 Calculated columns.
At first it seemed like the date range slicer was filtering that table as well.
But now i see that it doesnt.
Do date range slicers work for calculated columns?
Yes, they will but you want to only be filtering on the date in your date table.
in my calculation when i use MIN and MAX values of my Date table i get correct result but no filtering.
I tried using the Month column in the calculation, but it does not filter..