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
Mishelski
Frequent Visitor

Calculate without select all filter

I have 2 filters on my report, one for the entity and one for the market that the entity interacts with.

 

In the matrix I have created the 'All Lots' value, in this example the all lots value should be filtered by the entity and the markets - the issue Im having is that the filter isnt working as intended. When I select a entity and then select the 'select all' option for the market for some reason this seems to factor in additional markets that this entity is not trading in. However if I uncheck select all and individually select all the available markets in the filter, the value displays correctly .

 

Total lots w/o filters = CALCULATE(SUM(BROKER_TRADE_ANALYSIS[LOTS]), REMOVEFILTERS(BROKER_TRADE_ANALYSIS[LEGAL_ENTITY_ID]))
 

Example 1 (with select all on the Market ID filter - incorrect value)

Mishelski_1-1674470264047.png 

Mishelski_2-1674470323339.png

 

 

Example 2 (with manually selecting all the options - correct value)

Mishelski_0-1674470153315.png

Mishelski_3-1674470370461.png

 

Any help would be appreciated thanks

3 REPLIES 3
Mishelski
Frequent Visitor

Hi, thats gives me the total lots without factoring in the entire market 

 

What im trying to achieve is where the value will show the total amount of lots for the market id

 

Broker lots = the number of lots the broker has

all lots = the number of lots that market id has, but only if the broker has traded in that market 

 

This is what im trying to achieve but whats happening is the 'select all' part of the market ID filter is including markets that the broker does not trade in, therefore inflating that value to include every market.

 

Mishelski_0-1674471846576.png

 

Hi, @Mishelski try it measure

Value_total = CALCULATE( SUM('table'[value]), ALLEXCEPT('table','table'[market]) )

Screenshot_30.jpg

 


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
NikhilChenna
Skilled Sharer
Skilled Sharer

Hi @Mishelski ,

Can you check and let me know what value are you getting, comment the REMOVEFILTERS part from the dax code.

 

 

Regards, 
Nikhil Chenna 


Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.