Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I'd like to create a new table based on the min and max values within a column. Here is an example of the table:
Car Color Motor HP
911 Red 2.6 330
Mustang Blue 5.0 430
Trans Am White 6.6 475
Dart Brown 4.2 200
I'd want to use the HP column's MIN and MAX value to create a new table with those as the tables limits.
Can you assist me in the DAX I'd need to accomplish this?
Solved! Go to Solution.
How about using GENERATESERIES?
HP_Table =
GENERATESERIES ( MIN ( Table1[HP] ), MAX ( Table1[HP] ), 5 )
This produces a table with one column [Value], {200, 205, ..., 470, 475}.
How about using GENERATESERIES?
HP_Table =
GENERATESERIES ( MIN ( Table1[HP] ), MAX ( Table1[HP] ), 5 )
This produces a table with one column [Value], {200, 205, ..., 470, 475}.
Hey AlexisOlson, if our Max and Minimum values change, shouldnt the table change as well? for Example if I have a slicer which effectively changes minimum and maximum value, the column returned should also change right?
No. A calculated table cannot be dynamically responsive to filters since calculated tables are only computed when the dataset is initially loaded or refreshed rather than in response to user interactions via filters or slicers.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
72 | |
58 | |
40 | |
35 |
User | Count |
---|---|
84 | |
68 | |
59 | |
46 | |
46 |