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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.