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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DiKi-I
Post Partisan
Post Partisan

Multi selection in power bi

Hi I have 2  base measure currently added in the line chart of power bi which shows daily trand. The user want the flexibilty to select , unselect moving average days based on the two base measures.

So there will be two base measures in the line chart and extra lines of moving average needs to be added based on user selection. I can add only one measure in the line chart if I'm using moving average days as legend. Can someone help me how i can implement this?

DiKiI_0-1759829221727.png

 

1 ACCEPTED SOLUTION
v-dineshya
Community Support
Community Support

Hi @DiKi-I ,

Thank you for reaching out to the Microsoft Community Forum.


Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.

 

Regards,

Dinesh

View solution in original post

7 REPLIES 7
v-dineshya
Community Support
Community Support

Hi @DiKi-I ,

Thank you for reaching out to the Microsoft Community Forum.


Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.

 

Regards,

Dinesh

Hi @DiKi-I ,

We haven’t heard from you on the last response and was just checking back to see, Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.

 

Regards,

Dinesh

Hi @DiKi-I ,

We haven’t heard from you on the last response and was just checking back to see, Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.

 

Regards,

Dinesh

danextian
Super User
Super User

Hi @DiKi-I 

 

If there are just four moving average days measures, create those and put them in a field parameter.

 

danextian_0-1759832637423.gif

Please see the attached pbix.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thanks but I alredy tried the above the problem is there are two base measures and if I use field parameter there will be 8 selections in field paarmeter. I just want the user to have four slections. In your case you have used actual if you add one more base measure there will be 8 selections.

Did you want to add apply moving averages to those two base measures? What is your expected result visually?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

yes it will applied to both the base measures so that user can compare the moving average of both the two measures. MeasureA 7d MA,MeasureA 14d MA,MeasureB 7d MA,MeasureB 14d MA and so on.  But user can select and compare any moving average, for now I have 4*2 selection in slicer. I wanted to reduce it to 4 just 7, 14 ,30 & 50

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors