Forum Discussion

barbaracruvinel's avatar
barbaracruvinel
Frequent Visitor
4 years ago

Cumulative month javascript - power bi

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).

1 Reply