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
Hey Guys!
What I want to do is a Relative Date Table based on my filter selection on the visual report. I mean, I know the relative data feature, but I need the 12 months after and before the date I have selected in my filter.
I've tried making a table using DAX like this, but the function selectedvalue is not working inside the formula.
Solved! Go to Solution.
Hi, @Anonymous
First, let's explain that slicer selection belongs to the filtering context and can only be used on our report page. And both the new table and the new computed column belong to the row context and cannot use the selected values of our slicers.
For this, you can simply create a new computed column and use the selectedvalue() function, then change the selection of your slicer, and then you will find that it will not change, for proof.
For date tables, we can only build the date range you want according to our needs, and we can't create a date table that will change more than slicer filtering.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi, @Anonymous
First, let's explain that slicer selection belongs to the filtering context and can only be used on our report page. And both the new table and the new computed column belong to the row context and cannot use the selected values of our slicers.
For this, you can simply create a new computed column and use the selectedvalue() function, then change the selection of your slicer, and then you will find that it will not change, for proof.
For date tables, we can only build the date range you want according to our needs, and we can't create a date table that will change more than slicer filtering.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you so much! I understood the concept.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.