Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a line chart that i want to display a constant line on based on user input, so i added a what if parameter. the problem is that my minimum and maximum values change depending on the columns selected from a slicer. i made 2 measures, minimum and maximum values, which take the 'value' column from my Unpivoted table that i made to be able to choose between different columns. the minimum and maximum measures work perfectly how i want depending on the column i have selected, but they dont work in the what if parameter, the what if parameter has this query :
Solved! Go to Solution.
Hi @Anonymous ,
You cannot make a table to be dependent on measures since measures are dependent on context, when you select the values from a slicer that value is not moved into the table since tables required a row context and in that case will pick up all the values from you original table instead of the values selected in the slicer.
What is the result you want to have on your constant? Can you give some more context?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
You cannot make a table to be dependent on measures since measures are dependent on context, when you select the values from a slicer that value is not moved into the table since tables required a row context and in that case will pick up all the values from you original table instead of the values selected in the slicer.
What is the result you want to have on your constant? Can you give some more context?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |