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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.