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

use relative filter to calculate delta

HI,

 

I have few tables from which i have created something like this:

 EHS   
rows count Average Delta
Hazard id68360 
AI151.25 

 

for average i am dividing the counts by the month number and the value is coming fine when relative date filter is used

but for the delta i am not getting the correct value. 

 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is the following image your expected result? I used ALLEXCEPT( 'Table', 'Table'[rows] ) as a filter.

2-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

6 REPLIES 6
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is the following image your expected result? I used ALLEXCEPT( 'Table', 'Table'[rows] ) as a filter.

2-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
amitchandak
Super User
Super User

@Anonymous , what is delta here. What is the formula of it?

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
Anonymous
Not applicable

for delta i have to do counts divided by average but when i am using this the formula is considering counts from both the row. 

 EHS   
rows count Average Delta
Hazard id6836012%
AI151.2512%

 

but i want is  percent of 683/60 and 15/1.25 and what it is giving is summing and dividing it equally

@Anonymous , unless all or allexcept is used in one of the formula this one should have worked

 

Divide([count],[Average])

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
Anonymous
Not applicable

Operations Proactive Average = SUM('Operations Proactive'[Count]) / DISTINCTCOUNT('Date Dim'[MonthNumber])

Operations Proactive Delta = DIVIDE(SUM('Operations Proactive'[Count]),[Proactive Average])/100

 

These are the 2 formulas i am using currently.

@Anonymous , this will make it like

 

(1/ DISTINCTCOUNT('Date Dim'[MonthNumber]))*100

 

Check if this is what you needed

Operations Proactive Delta = DIVIDE(SUM('Operations Proactive'[Count]),calculate([Proactive Average],all(Table)))/100

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

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors