Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am using power slicer in power BI to use in filter selection.
I need them to be selected every month until the current month.
I'm using getMonth() (code in javascritp) but it only returns me the current month and I need them all up to the current month (example: it's September, so I need it to return me January, February, March, April, may, june, july, august and september).
Hi, @barbaracruvinel
The visual seems to only allow you to get a single value with a js statement.
I'm not familiar with this custom visual , you may need to contact their development team.
Due to the built-in watermark, it is not recommended to use this slicer for commercial purposes.
If you are looking to set default value for a slicer, you might want to refer to these related threads.
Setting-the-Default-Value-of-a-Slicer
Best Regards,
Community Support Team _ Eason
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
58 | |
40 | |
36 |
User | Count |
---|---|
84 | |
69 | |
59 | |
46 | |
46 |