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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Gdh1091
Regular Visitor

Using the User's selected value from one GenerateSeries function as a parameter in another.

Hi, I'm trying to allow the user to set a series of 'bandings' which the dashboard will then use to group items of corresponding value together.  For example, I imagine the end output might look something like:

 

Lower BandingUpper BandingTotal count of items valued between those bandsTotal value of items valued between those bands
01006432
10050031,123
500100042,467

 

I basically want to allow the user to select the values of the second column using a series of parameters, but I want to set the lower bound of each GenerateSeries function to whatever the user's selection was for the previous upper band. So the GenerateSeries for the first band might look like this:

 

GENERATESERIES( 0, 10000, 1)

 

the second might look like:

 

GENERATESERIES( [Band 1 Selection Value], 10000, 1)
 
and the third like this:
 
GENERATESERIES( [Band 2 Selection Value], 10000, 1)
 
Each time ensureing the user cannot select a value that overlaps the previous banding and therfore won't produce an acurate result.
 
However... the way I've done this here doesn't seem to work. Has anyone got any suggestions?
 
Many thanks in advance.
1 REPLY 1
Anonymous
Not applicable

Hi  @Gdh1091 ,

 

In GENERATESERIES, Returns a table with one column, populated with sequential values from start to end. It is equivalent to a calculation table, and the contents of the calculation table cannot be filtered along with it.

https://docs.microsoft.com/en-us/dax/generateseries-function

Regarding the initial value of GENERATESERIES, you can check the following link:

https://community.powerbi.com/t5/Desktop/How-to-generate-series-based-on-measure-values/td-p/1375207

https://community.powerbi.com/t5/Desktop/GENERATESERIES-with-dynamic-EndValue/td-p/792822

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.