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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
jvandyck
Helper IV
Helper IV

FTE, aggregate as sum on all dimensions except date. On date it should be average

An extract of the data looks like this:

sk_datumftesk_managementSK_Medewerker
20210331161814493
20210430161814493
20210531161814493
20210228161814493
20191031161814493
20191130161814493
20191231161814493
20200131161814493
20200229161814493
20200831161814493

The last 2 columns link to an employee dimension, and an org chart.

On these 2 dimensions, I would like to sum the FTE's. However on the date dimension, I would like to aggregate by average.

For your information, the date column will always contain one date value per month.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jvandyck , one of the ways. have a measure like this

averageX(values(Date[Date]), [Measure])

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@jvandyck , one of the ways. have a measure like this

averageX(values(Date[Date]), [Measure])

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

I did investigate further and got it to work now. My first try was the following formula:

FTE = AVERAGEX(values(Datum[Datum]), sum(FTE[teller])
This did not work.
My next try was 
FTE = AVERAGEX(values(Datum[Datum]), [Total FTE])
This does work! The difference is that total fte is a calculated measure on its own: sum(FTE[teller].
 
So what I did not interpret well, was that the sum aggregation of FTE had to happen in a calculated measure. Not sure I fully understand, but it probably has to do with the sequence of the calculations.

Thanks for your quick reply. I tried your suggestion but it does not seem to work. Here you can find a mock-up: https://www.dropbox.com/s/udqez5pngu2x5wn/Thuiswerk%20test.pbix?dl=0

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.