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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ianyyz
Helper I
Helper I

dax formula to calculate this

I'm trying to make this formula or measure

(integrated metric minus yyz metric )/5 for each month

metric being revenue etc.

eg for November 21 revenue

(90,826 -14,448)/5 =15,276

then have the formula do that for the rest of the months

and metrics ...eg

December 21 revenue

(77,810 minus 12,708/5

etc

eventually going all the way down where the last

calculation would be for October 2022 cash

(34,324 minus 5,036(/5

sample data is here

 

https://docs.google.com/spreadsheets/d

[17z1VzIljrSmRdYtPYWgioGt5nz-lyhGC/edit?usp=

drivesdk&ouid=113270003913045553839&rtpof=true&

sd=true

2 REPLIES 2
Anonymous
Not applicable

Hi @ianyyz ,

I'm a little confused about your needs, Could you please explain them further? It would be good to provide a screenshot of the results you are expecting and desensitized example data.

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

ianyyz
Helper I
Helper I

trying something like this

Integrated Average (Exlcuding YYZ) = calculate(sumx('Integrated Merged',('Integrated Merged'[Value] -RELATED('YYZ Merged'[Value]))/5),'Integrated Merged'[Date]=related('YYZ Merged'[Date]),'Integrated Merged'[Metric]=related('YYZ Merged'[Metric]))


the problem is i think i cant find a 1 to many relationship to do this?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.