Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I've got 2 What if Parameters with formulas "Expense What If = GENERATESERIES(0, 300000, 1)" and "Budget What If = GENERATESERIES(0, 300000, 1)"
When I put the "What If Parameter" to "Single Value" and type in a single value, I get an "i" in the top left that says
"Too many Expense What if Values. Showing a representative sample. Filter the data or choose another field."
What is the point of picking a single value if it won't actually let me pick a single value?
I am essentially trying to make a field that subtracts "expense" from "budget" using the what if parameters. If anyone could help me do this another way I would very much appreciate the help.
Use a combination of UNION() and GENERATESERIES() such as the following, enabling scale within your What If Parameter, as well as enabling Power BI to manage the number of parameters it has to hold in memory.:
UNION(
GENERATESERIES(0,500,10)
,GENERATESERIES(1000,10000,1000)
,GENERATESERIES(20000,100000,20000))
I don't think the issue is getting the values in the table, it's the slicer won't take more than ~1,000 values when it's looking at a parameter.
A workaround may be to do what you were doing by unioning a few different GENERATESERIES() functions to give granularity and further detail in the important ranges.
Looks like someone created a request already:
I created an Idea request for this if we want to try and create some traction to get PowerBI to increase the limitation...
HI @ahines
I thnk the idea is the table generated by the "What If Parameter" is to be used in a slicer. This will then allow you to pick an individual value from your list of 1 to 300,000.
It's the individual value that you can incorporate into your other measures. This way, when you adjust the slicer using your what if measure table, any other measure that references the 'single' measure will recalculate and show the updated value.
@Phil_Seamark i think the issue @ahines mentioned is that user cannot enter single value in the box and I tried it by myselft and if I enter some number, it round off to next number. I think that is the issue @ahines is trying to explain and totally agree with him
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
HI @parry2k
Oh yeah, it seems the slicer can't cope with that number of rows.
looks like values GENERATESERIES(1, 99998,1) might work or GENERATESERIES (1,300000,3)
Seems to be based on the number or rows.....
Thanks for the responses. None of the above proposed solutions are working. It still is picking a relative value to whatever "single value" I select. I'm not sure why Power Bi put limits on this.
Yeah I came across the same limitation where I added a unicode char what if slicer to my text gantt gallery entry.
I broke it into 2 what if parameters one being in units of 1000
http://community.powerbi.com/t5/Quick-Measures-Gallery/Text-Gantt-Chart/m-p/253466
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |