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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jkoclejda
Helper I
Helper I

Fixed value in column

HI!

 

I have a visualization like this:

 

areasupply_numbergoodsgoods_per_hourarea_average
A123455224
B123461388
C123478533
A123486364
D123497899

 

I want to calculate the area_average. I tried multiple variants with summarize and summarizecolumns with grouuping by area but i always get the same values as goods_per_hour. 

 

Do you know how should i calculate this to get average for area

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jkoclejda

 

I don't know what effect you want to achieve, and how your dax works.

I'm speculating that you need to use the all(), allselected(), allexcept(), and removefilter() functions to remove unwanted filtering effects:

vzhengdxumsft_0-1706518086853.png

vzhengdxumsft_0-1706518372271.png

 

Here's a blog about contextual filtering:

Understand the Filter Context and How to Control i... - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) . 

How to Get Your Question Answered Quickly - Page 13 - Microsoft Fabric Community

 

Best Regards, 

Zhengdong Xu 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @jkoclejda

 

I don't know what effect you want to achieve, and how your dax works.

I'm speculating that you need to use the all(), allselected(), allexcept(), and removefilter() functions to remove unwanted filtering effects:

vzhengdxumsft_0-1706518086853.png

vzhengdxumsft_0-1706518372271.png

 

Here's a blog about contextual filtering:

Understand the Filter Context and How to Control i... - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) . 

How to Get Your Question Answered Quickly - Page 13 - Microsoft Fabric Community

 

Best Regards, 

Zhengdong Xu 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

I tried with all and it works. Thanks!

bhanu_gautam
Super User
Super User

@jkoclejda , Could you please explain how area is getting calculated 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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