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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Calculated measure - Average by days and Sum by month across all dimension

Hello Everyone,

Looking for DAX query to calculate M3 which is derived from M2 and needs to be same if any dimension column added (like in example Product added but M3 value needs to be same as M2 for each Year-month)

Below is DAX query for M2 (Sum of M1 average per Day)

M2 = SUMX(
KEEPFILTERS(VALUES(TABLE[START_DATE].[Day])),
CALCULATE(AVERAGE(TABLE[M1]))
)

jayesh01_0-1680922759649.png

Thanks.

1 REPLY 1
Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26RhxYwjFn_pLaB0FM1?e=Vs5tUm
Screen Capture #840.pngScreen Capture #843.pngScreen Capture #844.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.