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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors