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
nicolast29
Helper V
Helper V

Matrix with 2 level of aggregation

Hi i have a matrix to create like this one 

nicolast29_0-1710344760243.png

The first aggregation is the sum of the H & F for each month

I know how to calculate this aggregation,see pbix below, but i didn't arrive to put them in the same matrix

nicolast29_1-1710344896437.png

bdese.pbix

 

Thanks

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

@nicolast29 

is this what you want ? 

Daniel29195_1-1710354422043.png

 

create a calculated column in the table feuil : 

salaire global = CALCULATE(count(Feuil1[Salarié]) ,  removefilters(Feuil1[Sexe]), REMOVEFILTERS(Feuil1[Type decontrat]), REMOVEFILTERS(Feuil1[Salarié]))

 

 

then drag and drop as follow : 

Daniel29195_2-1710354461022.png

 

 

let me know if this helps .

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🙏

View solution in original post

2 REPLIES 2
Daniel29195
Super User
Super User

@nicolast29 

is this what you want ? 

Daniel29195_1-1710354422043.png

 

create a calculated column in the table feuil : 

salaire global = CALCULATE(count(Feuil1[Salarié]) ,  removefilters(Feuil1[Sexe]), REMOVEFILTERS(Feuil1[Type decontrat]), REMOVEFILTERS(Feuil1[Salarié]))

 

 

then drag and drop as follow : 

Daniel29195_2-1710354461022.png

 

 

let me know if this helps .

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🙏

Hi

So simple

So beautifull

 

Thansk a  lot

Have a  nice day

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