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! Learn more
Hello!
I need to modify slicers defaults. Don't know if it's possible.
I have 2 tables:
Table1:
Table 2:
And I have the slicer for field "Closed date" of Table 2:
Slicer takes minimum and maximum date of column "Closed date" of Table 2.
I would like to replace these defaults with values of Table 1. Is it possible?
If required, I have uploded power bi file to Google Drive
Thank you!
Solved! Go to Solution.
Hi, @Anonymous , you might want to try it this way,
1. create a calculated column in Table2;
Closed date in between =
MIN ( Table1[Start] ) <= [Closed date]
&& [Closed date] <= MAX ( Table1[End] )2. add this calculated column Table2[Closed date in between] to filter pane against slicer viz and tick True;
Then you get a date slicer corresponding to Table1.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi, @Anonymous , you might want to try it this way,
1. create a calculated column in Table2;
Closed date in between =
MIN ( Table1[Start] ) <= [Closed date]
&& [Closed date] <= MAX ( Table1[End] )2. add this calculated column Table2[Closed date in between] to filter pane against slicer viz and tick True;
Then you get a date slicer corresponding to Table1.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@Anonymous
Just create a table with your desired min date and max date then make virtual relationship.. refer the below file.. try the below measure
Hello @sanalytics ,
I need to "insert" default values to slicer based on Table 1.
Is it possible to modify slicers data?
Thank you!
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.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |