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

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.

Reply
andyly85
Frequent Visitor

How to calculate the MAX of a total of a group of columns

Hi all,

 

How do I create a measure to pull the max and min total of each the columns below (to use as a card visual).  Max steps-Andy Ly 68316 in this case.  Thanks in advance

 

max sum columns.JPG

2 REPLIES 2
tamerj1
Super User
Super User

Hi @andyly85 
I'm not sure why are you creating a measure for each name. You can simply use a matrix visual, place [Day] at the rows of the matrix, place [Name] at the columns of the matrix and place the following measure in the values of the matrix (it assumes that the required calculation is a simple sum but you need to modify based on your real requirement). The same measure can be placed in a card visual to identify the max value requested.

Result =
MAXX (
    SUMMARIZE ( 'Table', 'Table'[Name], "@Value", SUM ( 'Table'[Value] ) ),
    [@Value]
)

 

 

maeshakib
Regular Visitor

Just Create two measures for every column. and user Min and Max function.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.