The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 Banding | Upper Banding | Total count of items valued between those bands | Total value of items valued between those bands |
0 | 100 | 6 | 432 |
100 | 500 | 3 | 1,123 |
500 | 1000 | 4 | 2,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:
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
32 | |
20 | |
16 | |
15 |
User | Count |
---|---|
74 | |
31 | |
30 | |
24 | |
21 |