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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Syndicate_Admin
Administrator
Administrator

Calculation of Total in Dynamic table

I have a dynamic table where my values are the average sale per day of the week.

PromedioDia = Divide(sum(TablaVentas[CEO]),COUNT(Calendar[OrdDiaL]))

mmonterrey_0-1692908740390.png

I calculate them are well my problem is the total because I want it to be the sum of all the fil

1,240,602

mmonterrey_2-1692908939703.png

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Thank you

Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

According to your statement, I think your requirement is to sum the meausre in total. I suggest you to try SUMX() function in your measure.

Sum =
SUMX (
    SUMMARIZE (
        'TableName',
        'TableName'[Year],
        'TableName'[Level2],
        'TableName'[Level3]
    ),
    [PromedioDia]
)

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Syndicate_Admin , Based on Level you can do Avg of Sum and Switch using isinscope

 

Avg of Sum : https://youtu.be/cN8AO3_vmlY?t=22980

How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials: https://youtu.be/smhIPw3OkKA

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors