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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Average on multiple column [period] in a matrix

Hi all, 

I'm tottaly newby in DAX and need certainly help for a basic commands.

I've got a Matrix that show the data consumption for each mobile subscription, I would like to create a new column to show the average of the data comsuption. 

To built my matrix, I've got 2 tables. 

- DATAs_Vol_Mob

PeriodSubscriptionDATA Volume
1.20244179xxxyy018935.663
1.20244179xxxyy028301.548
2.20244179xxxyy019035.663
2.20244179xxxyy028401.548
2.20244179xxxyy019035.663
3.20244179xxxyy028386.548

- Inventaire_Mobile

Contrat liéRéférence du contratUtilisateur (login)
4179xxxyy01NATEL® go flex Swiss premium XSUSER#1
4179xxxyy02NATEL® go flex Swiss premium MUSER#2

A link between the 2 tables in 

AlainMay_68_0-1723797765305.png

The result I want should be :

Utilisateur (login)Référence du contrat Subscription1.20242.20243.2024TOTALAverage [based on all period]Average of the data consumption of all subscrption of the "Reference du contrat)
USER#1NATEL® go flex Swiss premium XS4179xxxyy018935.6639035.6639035.66327006.999002.33?
USER#2NATEL® go flex Swiss premium M4179xxxyy028301.5488401.5488386.54825089.648363.21?

Average [based on all period] = Average of the 3 current period (1.2024 | 2.2024 | 3.2024). Next periods will be added later on. 

Last column should be the average of all subscription per "reference contrat" as I have ~1500 subsriptions. 

 

I tried to use "Quick Mesure" but the result is not the one I want.

I want also update all month the data for the current period, as I will run this repport on a long terms, having average per year will be a must. 

 

Thanks for your futur support

 

1 ACCEPTED SOLUTION
jgeddes
Super User
Super User

Based on what you wrote I think you are looking for something like this...

jgeddes_0-1723827900951.png

I have attached a pbix file that shows the measures I used.

Hope this gets you pointed in the right direction.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
jgeddes
Super User
Super User

Based on what you wrote I think you are looking for something like this...

jgeddes_0-1723827900951.png

I have attached a pbix file that shows the measures I used.

Hope this gets you pointed in the right direction.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.