How to execute only certain cells according to the selection in databricks


This Content is from Stack Overflow. Question asked by Harshith K R

I have 10 cells code in data bricks. my first 3 cells are executing and loading data.
is their any way that I run these 3 cells if I give input as yes or no/with any refresh button?

and I have next 7 cells which takes inputs from multiple dropdown widget. I need to have an approach like when all the required selections are done through dropdown widgets certain cells should run.

How to achieve this scenario? is their any logic i can implement for the same?


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?