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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
mberlinger3
Frequent Visitor

Need min, max average, and st dev below table visualization

Hey guys,

 

Im trying to get my company to move to powerbi but i need to make templates as similar as possible to the former excel templates.  How do I make a simple table visualization with min, max, avg, and stdev "totals" on the bottom.  The data looks like the following:

 

[ID, Data1, Data2;

1, 334, 132;

2, 337,172]

 

I want to get the following in the visualization on my report

 

[ID, Data1, Data2;

1, 334, 132;

2, 338,142;

Avg, 336, 137;

Min, 334, 132;

Max, 338, 142;

STDEV, ?, ?]

1 ACCEPTED SOLUTION

Hi @mberlinger3,

For your requirement, you need to create a new table, then create the expected report using the new table.

I use your first sample table as screenshot1 shown. Click "New Table" under Modeling on home page, type the following formula, you will get a new table as the screenshot2 shown.

screenshot1screenshot1

NewTable =
UNION (
    SELECTCOLUMNS (
        Table1,
        "Data1", Table1[Date1],
        "Data", Table1[Date2],
        "ID", Table1[ID]
    ),
    ADDCOLUMNS (
        SUMMARIZE (
            Table1,
            "Avg1", AVERAGE ( Table1[Date1] ),
            "Avg2", AVERAGE ( Table1[Date2] )
        ),
        "Avg", "Avg"
    ),
    ADDCOLUMNS (
        SUMMARIZE (
            Table1,
            "min1", MIN ( Table1[Date1] ),
            "min2", MIN ( Table1[Date2] )
        ),
        "min", "min"
    ),
    ADDCOLUMNS (
        SUMMARIZE (
            Table1,
            "max1", MIN ( Table1[Date1] ),
            "max2", MIN ( Table1[Date2] )
        ),
        "max", "max"
    )
)

2.PNG

Then you can create a table, select all the columns in new table to display.

3.png

Please download the attachment file to check more information.

Best Regards,
Angelia

View solution in original post

3 REPLIES 3
dilumd
Impactful Individual
Impactful Individual

Hi

How's your data looks like? Can you give some sample data and final expected result?

Dilumd,

 

I gave a demo above.  I am using the table visualization but I am limited to just a total row.  I would like 4 "Total" rows one for each of the metrics "min, max, avg, stdev"

 

Mike

Hi @mberlinger3,

For your requirement, you need to create a new table, then create the expected report using the new table.

I use your first sample table as screenshot1 shown. Click "New Table" under Modeling on home page, type the following formula, you will get a new table as the screenshot2 shown.

screenshot1screenshot1

NewTable =
UNION (
    SELECTCOLUMNS (
        Table1,
        "Data1", Table1[Date1],
        "Data", Table1[Date2],
        "ID", Table1[ID]
    ),
    ADDCOLUMNS (
        SUMMARIZE (
            Table1,
            "Avg1", AVERAGE ( Table1[Date1] ),
            "Avg2", AVERAGE ( Table1[Date2] )
        ),
        "Avg", "Avg"
    ),
    ADDCOLUMNS (
        SUMMARIZE (
            Table1,
            "min1", MIN ( Table1[Date1] ),
            "min2", MIN ( Table1[Date2] )
        ),
        "min", "min"
    ),
    ADDCOLUMNS (
        SUMMARIZE (
            Table1,
            "max1", MIN ( Table1[Date1] ),
            "max2", MIN ( Table1[Date2] )
        ),
        "max", "max"
    )
)

2.PNG

Then you can create a table, select all the columns in new table to display.

3.png

Please download the attachment file to check more information.

Best Regards,
Angelia

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.

Top Solution Authors