Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a column called duration. I want to create a dynamic what if parameter that a user can change.
Duration column
5’
10’
20
8’
….
If the parameter is set to 10’ and up then its “greater than parameter” or “less than parameter”
i.e.
5 less
10 less
20 greater
8 less
I created a parameter like this:
Then I create a new column:
With my function lookling like this:
lower_or_greater = IF(Parameter[Parameter Value] < 'individual lines csv'[Duration],"Smaller Parameter" , "Greater Parameter")
So this gets me the values Smaller/Greater Parameter like this:
But the problem that im currently having is that, even when I change the slider, it still is defaulted to the 500 default that I had set earlier:
Even with the slider that i put on there, it will not change the location"
Can someone tell me what im doing incorrectly perhaps.
my columns look like this:
Solved! Go to Solution.
Hi @Anonymous ,
I created a sample pbix file(see attachment), please check whether that is what you want.
Create a measure as below to replace your original calculated column [lower_or_greater]:
Best Regards
@Anonymous Columns are not dynamic based on user input, they are calculated once when created and only recalculated during data refresh.
okay. So to have that feature, i made it into a measure with this:
Now that I have that new measure, i want to bucket the 1's and 0's into a 100% stacked column chart. What can i do after doing this?
or do you see what im trying to accomplish and do you have any other alternatives to what im trying to do ?
@Anonymous In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563
does that work for what if parameters. and what did you mean by data refresh by any chance ?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 25 |