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
Anonymous
Not applicable

User input parameter + automated calculation

Hello Community,

I'm new to PBI and I struggle with a combination of a user input parameter and an automated calculation. What I imagine is an automated calculation which can be adjusted by a user input. However, after using the parameter, I have troubles erasing the values so that values show back automated calculation. Is there a way to erase the param and switch back to the automated calculation?

Many thanks for your help

1 ACCEPTED SOLUTION

Your measure remains as is but you do need to setup a bookmark affecting just that specific slicer.

 

danextian_2-1733291722330.gif

 





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.

View solution in original post

5 REPLIES 5
danextian
Super User
Super User

If by user input, you mean what-if parameter, you can write a measure that switches to a different calculation if a user leaves the input value blank but the user must erase the value from the input field. The erasing can be done using bookmarks as well.





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.
Anonymous
Not applicable

Hi @danextian 

Thank you so much for reaching back. 

I use this formula: VAR _threshold = IF(ISBLANK(_user_treshold), _automated_threshold, _user_treshold)

How should I modify the formula/bookmarks to make it work?

Let me stress that the problem isn't that the user could not input, but erase an already input value to switch to the automated threshold.

Thank you so much!

Your measure remains as is but you do need to setup a bookmark affecting just that specific slicer.

 

danextian_2-1733291722330.gif

 





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.
Anonymous
Not applicable

Works! You're the best @danextian 

lbendlin
Super User
Super User

That doesn't sound like a Power BI thing.  Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

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.