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! Request now

Reply
Anonymous
Not applicable

Creating a table of column totals

Hi all, I'm trying to create a table of the column totals of a seperate table but I'm not sure what DAX/functions to use, if anyone has any suggestions then that'd be great!image 2.pngimage 1.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. Select all columns in Power Query – Unpivot Columns.

vyangliumsft_0-1659080744553.png

Result:

vyangliumsft_1-1659080744554.png

2. Create calculated table.

Table 2 =
SUMMARIZE('Table','Table'[Attribute],"Value",SUMX(FILTER(ALL('Table'),'Table'[Attribute]=EARLIER('Table'[Attribute])),[Value]))

3. Result:

vyangliumsft_2-1659080744556.png

If you need pbix, please click here.

 

Best Regards,

Liu Yang

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. Select all columns in Power Query – Unpivot Columns.

vyangliumsft_0-1659080744553.png

Result:

vyangliumsft_1-1659080744554.png

2. Create calculated table.

Table 2 =
SUMMARIZE('Table','Table'[Attribute],"Value",SUMX(FILTER(ALL('Table'),'Table'[Attribute]=EARLIER('Table'[Attribute])),[Value]))

3. Result:

vyangliumsft_2-1659080744556.png

If you need pbix, please click here.

 

Best Regards,

Liu Yang

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

Anonymous
Not applicable

That's perfect! Thanks so much for solving this, I massively appreciate it!

amitchandak
Super User
Super User

@Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example?

I can suggest How to create a row for this UI. We usually use Remainder (using MOD) and create a column and use that
Appreciate your Kudos.


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
amitchandak
Super User
Super User

@Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example?

I can suggest How to create a row for this UI. We usually use Remainder (using MOD) and create a column and use that
Appreciate your Kudos.


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
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