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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
pani_victoria
Helper III
Helper III

dynamic generateseries

Colleagues, I have a problem and I once again ask for help.
I would like to create a parameter from 10000 to 2000000 in increments of 0.01 using the GENERATESERIES function but the file size is too large.
I had the following idea

Is it possible to adjust StartValue and EndValue using a range table?

For example, create a table of ranges and add a filter.
Снимок2.JPG

 


Selecting "up to 100000" would create a table from 1000 to 99999.99, etc.

If this is possible, please help me write the code.

4 REPLIES 4
Anonymous
Not applicable

Hi @pani_victoria ,

Please try to create a measure with below dax formula:

Measure =
VAR _range =
    SELECTEDVALUE ( 'Table'[Range] )
VAR _start =
    CALCULATE (
        MAX ( 'Table'[StartValue] ),
        'Table'[Range] = _range,
        ALL ( 'Table' )
    )
VAR _end =
    CALCULATE (
        MAX ( 'Table'[EndValue] ),
        'Table'[Range] = _range,
        ALL ( 'Table' )
    )
VAR _result =
    GENERATESERIES ( _start, _end, 0.1 )
RETURN
    IF ( HASONEFILTER ( 'Table'[Range] ), COUNTROWS ( _result ), 0 )

Animation23.gif

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is not exactly what I would like to receive. As a result, a table of values should be obtained in order to then add it to the filter and the user could enter any number in the selected range into this filter

Anonymous
Not applicable

Hi @pani_victoria ,

Sorry, so far, to my knowledge, this may not be achieveable.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the help anyway 😀

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.