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

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

Reply
Vijaykumar_shan
Frequent Visitor

Parameters using Excel as data source

I'm using Excel as Data source

 

1. I have created dropdown parameters - Actual with values such as fst 0+12,fst 1+11,fst 2+10

2. created calc_column = IF (forecast_column=Actual,savings,0)

3. When I drag parameter to report using slicer I'm not getting the drop down (it only shows one selected value)

4. how to bind parameter using query editor so that calc_column changes when user selects different values from drop down parameter

 

Please suggest

4 REPLIES 4
Anonymous
Not applicable

Hi, @Vijaykumar_shan 

Based on your question, here are my answers.

In Power Query, create a new parameter.

vyilongmsft_0-1706668739975.png

You can create multiple parameters for different needs. I think you can also try New parameter under Modeling and then select Fields to write the parameter.

vyilongmsft_1-1706668814173.png

vyilongmsft_2-1706668814175.png

 

If neither of the above methods work I hope you can provide me with the data so that I can analyze it further.

 

How to Get Your Question Answered Quickly 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

My dropdown Parameter(Actual_parameter) needs to have values (fst 0+12,fst 1+11,fst 2+10) when user selects this value the column needs to change actuals=IF (forecast_column=Actual_parameter,savings,0)

 

ActualForecast_column
100Fst 0+12
200Fst 1+11
300Fst 2+10
400Fst 0+12
500Fst 1+11
amitchandak
Super User
Super User

@Vijaykumar_shan ,Based on what I got

Create measures and use field parameters for that.

 

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf
Power BI Field Parameters, Keep Axis Sort intact| Always Sort on X/Categorial Axis: https://youtu.be/GfBrB6czByw

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello,

 

My dropdown Parameter(Actual_parameter) needs to have values (fst 0+12,fst 1+11,fst 2+10) when user selects this value the column needs to change actuals=IF (forecast_column=Actual_parameter,savings,0)

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.