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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.