Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
This may seem like a really easy question but I can't seem to figure it out. I have the following calculated table in my visual and I just need to create measures to get the min and max values of the count and average columns.
| Group1 | Group2 | Count of Customers | Avg Sales |
| A | AA | 125 | 100 |
| B | BB | 33 | 200 |
| C | CC | 567 | 300 |
| D | DD | 43 | 400 |
I need 4 measures:
Min customer count = 33
Max Customer Count = 567
Min Avg Sales = 100
Max Avg Sales = 400
Thanks
@Atifz , Like
calculate(min([count of customer]),all(Table))
calculate(max([count of customer]),all(Table))
calculate(min([Avg Sales]),all(Table))
calculate(max([Avg Sales]),all(Table))
all(table) can be removed or can be replaced on allselected(Table) depending on need
hi @amitchandak
Sorry, I wasn't clear in my original post. Group1 and 2 are from different tables in the data and customer count is count of customer ID's, I don't have a customer count measure.
The above table was created as a visual in Power BI.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!