Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MiekeV
Frequent Visitor

KPI- multiple select slicer

My issue is similar to this one that was posted in 2017:

https://community.powerbi.com/t5/Desktop/KPI-Visualization-Problem-With-Multiple-Select/td-p/165189

 

I am wondering if there is a solution?

 

I am creating a Actuals/Budget report. I have a slicer for year and one for months.

 

If I were to multi-select multiple months, I would like the KPI to display the sum of the actuals/ budgets pretaining to those months as opposed to the default where it only displays the data for the last month that was selected oin the slicer (if january and february are both selected, it will only show the february data and not the sum of Jan+Feb). 

 

Is there a work around of this?

 

Ideally I do not want to use the YTD method as I would like the ability to select months and/or years out of order (e.g. just May and October)

1 ACCEPTED SOLUTION
kentyler
Solution Sage
Solution Sage

Here is a link to the use of Parameter tables https://www.daxpatterns.com/parameter-table/

which act like slicers but are, i think more open to manipulation in DAX

Notice that even in this article the selection of multiple parameters is considered to be "bad".

I suspect your way out might be to make 3 parameter tables, for example, and allow the user to select up to 3 months. Then your DAX code would have to check each parameter and react differently depending on which one was selected.

This would be pretty advanced, but you could probably do.





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


View solution in original post

1 REPLY 1
kentyler
Solution Sage
Solution Sage

Here is a link to the use of Parameter tables https://www.daxpatterns.com/parameter-table/

which act like slicers but are, i think more open to manipulation in DAX

Notice that even in this article the selection of multiple parameters is considered to be "bad".

I suspect your way out might be to make 3 parameter tables, for example, and allow the user to select up to 3 months. Then your DAX code would have to check each parameter and react differently depending on which one was selected.

This would be pretty advanced, but you could probably do.





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.